MalwareBazaar Database

You are currently viewing the MalwareBazaar entry for SHA256 40c98ff9673f67cfa82d9e2e16a2e55644f71fec87e2d92f25821a2b917f8145. While MalwareBazaar tries to identify whether the sample provided is malicious or not, there is no guarantee that a sample in MalwareBazaar is malicious.

Database Entry



ValleyRAT


Vendor detections: 13


Intelligence 13 IOCs 1 YARA 42 File information Comments

SHA256 hash: 40c98ff9673f67cfa82d9e2e16a2e55644f71fec87e2d92f25821a2b917f8145
SHA3-384 hash: 8beb180ac740b5a7ed929023c19802012f71ffa41a453d26c6813e927ababf9f1d8bf75463ed5d4e32755af098db79a1
SHA1 hash: 5c542d609013e48e6095af6ce5ef28208a35bb3f
MD5 hash: 9c986d7e311ce1e8db7bd65b8271a87d
humanhash: avocado-delta-stairway-romeo
File name:9C986D7E311CE1E8DB7BD65B8271A87D.exe
Download: download sample
Signature ValleyRAT
File size:61'770'902 bytes
First seen:2026-07-19 22:00:16 UTC
Last seen:2026-07-20 17:28:02 UTC
File type:Executable exe
MIME type:application/x-dosexec
imphash d3f487c6c23e9d9845b2eca3fbdd93dd (3 x ValleyRAT)
ssdeep 393216:GyXTrculw3aURH+EIXBYNitrgaFa1305l/9CidVeJoqaQKiYq7eSdK0ngpk+HcM+:RgRErYd7IzIT9WAHNei
TLSH T1F4D77C0272A54A61FDA23B7186D81727EF3ABD3157B648973E0C2BF20F7A3154A27711
TrID 29.7% (.EXE) Win32 Executable MS Visual C++ (generic) (31206/45/13)
25.2% (.EXE) Win32 EXE Yoda's Crypter (26569/9/4)
15.7% (.EXE) Microsoft Visual C++ compiled executable (generic) (16529/12/5)
6.2% (.DLL) Win32 Dynamic Link Library (generic) (6578/25/2)
6.2% (.EXE) Win64 Executable (generic) (6522/11/2)
Magika pebin
dhash icon fadadac2a2b8c4e4 (20 x ValleyRAT, 11 x Nitol, 5 x Gh0stRAT)
Reporter abuse_ch
Tags:exe RAT ValleyRAT


Avatar
abuse_ch
ValleyRAT C2:
154.82.93.242:778

Indicators Of Compromise (IOCs)


Below is a list of indicators of compromise (IOCs) associated with this malware samples.

IOCThreatFox Reference
154.82.93.242:778 https://threatfox.abuse.ch/ioc/1853949/

Intelligence


File Origin
# of uploads :
3
# of downloads :
187
Origin country :
NL NL
Vendor Threat Intelligence
No detections
Verdict:
Malicious
Score:
92.5%
Tags:
downloader dropper virus
Result
Verdict:
Malware
Maliciousness:

Behaviour
Creating a file in the %temp% subdirectories
Searching for synchronization primitives
Creating a process from a recently created file
Creating a window
Deleting a recently created file
Creating a file in the Program Files subdirectories
Creating a process with a hidden window
Searching for the window
Connection attempt
Sending a custom TCP request
Сreating synchronization primitives
Launching a service
Enabling autorun with the standard Software\Microsoft\Windows\CurrentVersion\Run registry branch
Verdict:
Malicious
Threat level:
  10/10
Confidence:
100%
Tags:
adaptive-context anti-debug base64 crypto crypto evasive fingerprint installer installer-heuristic microsoft_visual_cc obfuscated overlay packed packed reconnaissance xor-pe xor-pe
Verdict:
Malicious
File Type:
exe x32
First seen:
2026-07-16T23:37:00Z UTC
Last seen:
2026-07-21T20:30:00Z UTC
Hits:
~1000
Detections:
Trojan.Win32.Shella.sb HEUR:Trojan.Win32.Shella.gen Backdoor.Win32.Xkcp.a Backdoor.Win32.Agentb.sb Backdoor.Agent.TCP.C&C
Result
Threat name:
ValleyRAT
Detection:
malicious
Classification:
troj.evad
Score:
100 / 100
Signature
C2 URLs / IPs found in malware configuration
Contains functionality to inject code into remote processes
Contains functionality to inject threads in other processes
Found evasive API chain (may stop execution after checking mutex)
Found malware configuration
Joe Sandbox ML detected suspicious sample
Multi AV Scanner detection for dropped file
Multi AV Scanner detection for submitted file
Suricata IDS alerts for network traffic
Unusual module load detection (module proxying)
Yara detected ValleyRAT
Behaviour
Behavior Graph:
Gathering data
Threat name:
Win32.Trojan.FakeAv
Status:
Suspicious
First seen:
2026-07-17 11:58:14 UTC
File Type:
PE (Exe)
Extracted files:
1062
AV detection:
12 of 36 (33.33%)
Threat level:
  5/5
Result
Malware family:
valleyrat_s2
Score:
  10/10
Tags:
family:valleyrat_s2 backdoor discovery persistence upx
Behaviour
Modifies registry class
Suspicious behavior: EnumeratesProcesses
Suspicious use of SetWindowsHookEx
Suspicious use of WriteProcessMemory
Enumerates physical storage devices
System Location Discovery: System Language Discovery
Drops file in Program Files directory
UPX packed file
Adds Run key to start application
Checks installed software on the system
Enumerates connected drives
Checks computer location settings
Executes dropped EXE
Loads dropped DLL
Detects ValleyRAT payload
Family: ValleyRat
Malware Config
C2 Extraction:
154.82.93.242:778
127.0.0.1:80
Malware family:
ValleyRAT
Verdict:
Malicious
Please note that we are no longer able to provide a coverage score for Virus Total.

YARA Signatures


MalwareBazaar uses YARA rules from several public and non-public repositories, such as YARAhub and Malpedia. Those are being matched against malware samples uploaded to MalwareBazaar as well as against any suspicious process dumps they may create. Please note that only results from TLP:CLEAR rules are being displayed.

Rule name:ach_202409_html_FedEx_phish
Author:abuse.ch
Description:Detects potential HTML FedEx phishing forms
Rule name:APT_Sandworm_ArguePatch_Apr_2022_1
Author:Arkbird_SOLG
Description:Detect ArguePatch loader used by Sandworm group for load CaddyWiper
Reference:https://www.welivesecurity.com/2022/04/12/industroyer2-industroyer-reloaded/
Rule name:attack_India
Rule name:BLOWFISH_Constants
Author:phoul (@phoul)
Description:Look for Blowfish constants
Rule name:Capability_Embedded_Lua
Author:Obscurity Labs LLC
Description:Detects embedded Lua engines by looking for multiple Lua API symbols or env-var hooks
Rule name:CP_Script_Inject_Detector
Author:DiegoAnalytics
Description:Detects attempts to inject code into another process across PE, ELF, Mach-O binaries
Rule name:DebuggerCheck__API
Reference:https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara
Rule name:DebuggerException__SetConsoleCtrl
Reference:https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara
Rule name:DetectEncryptedVariants
Author:Zinyth
Description:Detects 'encrypted' in ASCII, Unicode, base64, or hex-encoded
Rule name:FormhookB
Author:kevoreilly
Description:Formbook Anti-hook Bypass
Rule name:FreddyBearDropper
Author:Dwarozh Hoshiar
Description:Freddy Bear Dropper is dropping a malware through base63 encoded powershell scrip.
Rule name:GenericGh0st
Author:Still
Rule name:Gh0stKCP
Author:Netresec
Description:Detects HP-Socket ARQ and KCP implementations, which are used in Gh0stKCP. Forked from @stvemillertime's KCP catchall rule.
Reference:https://netresec.com/?b=259a5af
Rule name:golang_bin_JCorn_CSC846
Author:Justin Cornwell
Description:CSC-846 Golang detection ruleset
Rule name:Indicator_MiniDumpWriteDump
Author:Obscurity Labs LLC
Description:Detects PE files and PowerShell scripts that use MiniDumpWriteDump either through direct imports or string references
Rule name:malware_shellcode_hash
Author:JPCERT/CC Incident Response Group
Description:detect shellcode api hash value
Rule name:MD5_Constants
Author:phoul (@phoul)
Description:Look for MD5 constants
Rule name:meth_peb_parsing
Author:Willi Ballenthin
Rule name:NETDLLMicrosoft
Author:malware-lu
Rule name:RANSOMWARE
Author:ToroGuitar
Rule name:RIPEMD160_Constants
Author:phoul (@phoul)
Description:Look for RIPEMD-160 constants
Rule name:SHA1_Constants
Author:phoul (@phoul)
Description:Look for SHA1 constants
Rule name:SUSP_XORed_MSDOS_Stub_Message
Author:Florian Roth
Description:Detects suspicious XORed MSDOS stub message
Reference:https://yara.readthedocs.io/en/latest/writingrules.html#xor-strings
Rule name:Sus_All_Windows_PE_Malware
Author:DiegoAnalytics
Description:Detects Windows PE malware of all types, avoids non-executables like .html
Rule name:Sus_CMD_Powershell_Usage
Author:XiAnzheng
Description:May Contain(Obfuscated or no) Powershell or CMD Command that can be abused by threat actor(can create FP)
Rule name:telebot_framework
Author:vietdx.mb
Rule name:test_Malaysia
Author:rectifyq
Description:Detects file containing malaysia string
Rule name:test_rule_vldslv
Rule name:ThreadControl__Context
Reference:https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara
Rule name:TH_AntiVM_MassHunt_Win_Malware_2026_CYFARE
Author:CYFARE
Description:Detects Windows malware employing anti-VM / anti-sandbox evasion techniques across VMware, VirtualBox, Hyper-V, QEMU, Xen, and generic sandbox environments
Reference:https://cyfare.net/
Rule name:UPX
Author:kevoreilly
Description:UPX Unpacker: dump on OEP (original entry point)
Rule name:UPXV200V290MarkusOberhumerLaszloMolnarJohnReiser
Author:malware-lu
Rule name:UPXv20MarkusLaszloReiser
Author:malware-lu
Rule name:upx_largefile
Author:k3nr9
Rule name:ValleyRAT
Author:NDA0E
Description:Detects ValleyRAT
Rule name:VECT_Ransomware
Author:Mustafa Bakhit
Description:Detects activity associated with VECT ransomware. This includes registry modifications and deletions, execution of system and defense-evasion commands, suspicious API usage, mutex creation, file and memory manipulation, ransomware note generation, anti-debugging and anti-analysis techniques, and embedded cryptographic constants (SHA256) characteristic of this malware family. Designed for threat intelligence and malware detection environments.
Rule name:Windows_Generic_Threat_4b0b73ce
Author:Elastic Security
Rule name:WinosStager
Author:YungBinary
Description:https://www.esentire.com/blog/winos4-0-online-module-staging-component-used-in-cleversoar-campaign
Rule name:win_winos_auto
Author:Felix Bilstein - yara-signator at cocacoding dot com
Description:Detects win.winos.
Rule name:without_attachments
Author:Antonio Sanchez <asanchez@hispasec.com>
Description:Rule to detect the no presence of any attachment
Reference:http://laboratorio.blogs.hispasec.com/
Rule name:with_urls
Author:Antonio Sanchez <asanchez@hispasec.com>
Description:Rule to detect the presence of an or several urls
Reference:http://laboratorio.blogs.hispasec.com/

File information


The table below shows additional information about this malware sample such as delivery method and external references.

Comments