File name:

bagsnake2.ps1

Full analysis: https://app.any.run/tasks/01a54d09-96d3-40a2-b264-b97135b28f30
Verdict: Malicious activity
Threats:

A keylogger is a type of spyware that infects a system and has the ability to record every keystroke made on the device. This lets attackers collect personal information of victims, which may include their online banking credentials, as well as personal conversations. The most widespread vector of attack leading to a keylogger infection begins with a phishing email or link. Keylogging is also often present in remote access trojans as part of an extended set of malicious tools.

Analysis date: April 18, 2025, 05:41:31
OS: Windows 10 Professional (build: 19044, 64 bit)
Tags:
snake
keylogger
evasion
telegram
stealer
Indicators:
MIME: text/plain
File info: ASCII text, with very long lines (65536), with no line terminators
MD5:

779CDD1B4AA191B1947C165BA80F641C

SHA1:

73DCCE784D7528077978756DB7BF21A17FFB1272

SHA256:

59DD2C92590A67082BFBD496CE0C8D7CB782EDBA2C1E368340386044FF57EFD5

SSDEEP:

6144:47MAx8N1Z7MTTwX0+TYrPZMpD4qiPtpzBWjrkZwtOoFSKYvhJ:47ziaTTvNMpePtpofkKso0K4J

ANY.RUN is an interactive service which provides full access to the guest system. Information in this report could be distorted by user actions and is provided for user acknowledgement as it is. ANY.RUN does not guarantee maliciousness or safety of the content.
  • MALICIOUS

    • Uses AES cipher (POWERSHELL)

      • powershell.exe (PID: 5988)
    • Bypass execution policy to execute commands

      • powershell.exe (PID: 5988)
    • SNAKEKEYLOGGER has been detected (SURICATA)

      • CasPol.exe (PID: 6392)
    • SNAKE has been detected (YARA)

      • CasPol.exe (PID: 6392)
    • Actions looks like stealing of personal data

      • CasPol.exe (PID: 6392)
    • Steals credentials from Web Browsers

      • CasPol.exe (PID: 6392)
  • SUSPICIOUS

    • Uses base64 encoding (POWERSHELL)

      • powershell.exe (PID: 5988)
    • Writes data into a file (POWERSHELL)

      • powershell.exe (PID: 5988)
    • Executable content was dropped or overwritten

      • powershell.exe (PID: 5988)
    • Reads security settings of Internet Explorer

      • CasPol.exe (PID: 6392)
    • Connects to the server without a host name

      • EBnYUQMm.exe (PID: 7084)
    • Checks for external IP

      • svchost.exe (PID: 2196)
      • CasPol.exe (PID: 6392)
    • Process communicates with Telegram (possibly using it as an attacker's C2 server)

      • CasPol.exe (PID: 6392)
    • The process verifies whether the antivirus software is installed

      • CasPol.exe (PID: 6392)
    • Connects to SMTP port

      • CasPol.exe (PID: 6392)
  • INFO

    • Gets data length (POWERSHELL)

      • powershell.exe (PID: 5988)
    • Gets a random number, or selects objects randomly from a collection (POWERSHELL)

      • powershell.exe (PID: 5988)
    • Uses string split method (POWERSHELL)

      • powershell.exe (PID: 5988)
    • Checks supported languages

      • EBnYUQMm.exe (PID: 7084)
      • CasPol.exe (PID: 6392)
    • Reads the computer name

      • EBnYUQMm.exe (PID: 7084)
      • CasPol.exe (PID: 6392)
    • The executable file from the user directory is run by the Powershell process

      • EBnYUQMm.exe (PID: 7084)
    • Reads the machine GUID from the registry

      • EBnYUQMm.exe (PID: 7084)
      • CasPol.exe (PID: 6392)
    • Disables trace logs

      • EBnYUQMm.exe (PID: 7084)
      • CasPol.exe (PID: 6392)
    • Checks proxy server information

      • EBnYUQMm.exe (PID: 7084)
      • CasPol.exe (PID: 6392)
      • slui.exe (PID: 2904)
    • Reads Environment values

      • EBnYUQMm.exe (PID: 7084)
    • Reads the software policy settings

      • CasPol.exe (PID: 6392)
      • slui.exe (PID: 2904)
    • Attempting to use instant messaging service

      • CasPol.exe (PID: 6392)
Find more information about signature artifacts and mapping to MITRE ATT&CK™ MATRIX at the full report

SnakeKeylogger

(PID) Process(6392) CasPol.exe
Keys
DES6fc98cd68a1aab8b
Options
SMTP Userinfo@alnozha-qa.com
SMTP Passwordinfo123456789
SMTP Hostmail.alnozha-qa.com
SMTP SendToarmkmc2016@gmail.com
SMTP Port587
No Malware configuration.
No data.
screenshotscreenshotscreenshot
All screenshots are available in the full report
All screenshots are available in the full report
Total processes
131
Monitored processes
6
Malicious processes
3
Suspicious processes
0

Behavior graph

Click at the process to see the details
start powershell.exe conhost.exe no specs ebnyuqmm.exe #SNAKE caspol.exe svchost.exe slui.exe

Process information

PID
CMD
Path
Indicators
Parent process
660\??\C:\WINDOWS\system32\conhost.exe 0xffffffff -ForceV1C:\Windows\System32\conhost.exepowershell.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Console Window Host
Exit code:
0
Version:
10.0.19041.1 (WinBuild.160101.0800)
Modules
Images
c:\windows\system32\conhost.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\msvcp_win.dll
c:\windows\system32\ucrtbase.dll
c:\windows\system32\shcore.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\combase.dll
c:\windows\system32\rpcrt4.dll
2196C:\WINDOWS\system32\svchost.exe -k NetworkService -p -s DnscacheC:\Windows\System32\svchost.exe
services.exe
User:
NETWORK SERVICE
Company:
Microsoft Corporation
Integrity Level:
SYSTEM
Description:
Host Process for Windows Services
Version:
10.0.19041.1 (WinBuild.160101.0800)
Modules
Images
c:\windows\system32\svchost.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\sechost.dll
c:\windows\system32\rpcrt4.dll
c:\windows\system32\bcrypt.dll
c:\windows\system32\ucrtbase.dll
c:\windows\system32\combase.dll
c:\windows\system32\kernel.appcore.dll
2904C:\WINDOWS\System32\slui.exe -EmbeddingC:\Windows\System32\slui.exe
svchost.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Windows Activation Client
Exit code:
0
Version:
10.0.19041.1 (WinBuild.160101.0800)
Modules
Images
c:\windows\system32\slui.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\advapi32.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\sechost.dll
c:\windows\system32\rpcrt4.dll
c:\windows\system32\bcrypt.dll
c:\windows\system32\user32.dll
5988"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ep bypass C:\Users\admin\Desktop\bagsnake2.ps1C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
explorer.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Windows PowerShell
Exit code:
0
Version:
10.0.19041.1 (WinBuild.160101.0800)
Modules
Images
c:\windows\system32\windowspowershell\v1.0\powershell.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\oleaut32.dll
c:\windows\system32\msvcp_win.dll
c:\windows\system32\ucrtbase.dll
c:\windows\system32\combase.dll
c:\windows\system32\atl.dll
6392"C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
EBnYUQMm.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Microsoft .NET Framework CAS Policy Manager
Version:
4.8.9037.0 built by: NET481REL1
Modules
Images
c:\windows\microsoft.net\framework\v4.0.30319\caspol.exe
c:\windows\system32\ntdll.dll
c:\windows\syswow64\ntdll.dll
c:\windows\system32\wow64.dll
c:\windows\system32\wow64win.dll
c:\windows\system32\wow64cpu.dll
c:\windows\syswow64\mscoree.dll
c:\windows\syswow64\kernel32.dll
c:\windows\syswow64\kernelbase.dll
c:\windows\syswow64\advapi32.dll
SnakeKeylogger
(PID) Process(6392) CasPol.exe
Keys
DES6fc98cd68a1aab8b
Options
SMTP Userinfo@alnozha-qa.com
SMTP Passwordinfo123456789
SMTP Hostmail.alnozha-qa.com
SMTP SendToarmkmc2016@gmail.com
SMTP Port587
7084"C:\Users\admin\AppData\Local\Temp\EBnYUQMm.exe" C:\Users\admin\AppData\Local\Temp\EBnYUQMm.exe
powershell.exe
User:
admin
Integrity Level:
MEDIUM
Description:
Exit code:
0
Version:
0.0.0.0
Modules
Images
c:\users\admin\appdata\local\temp\ebnyuqmm.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\mscoree.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\apphelp.dll
c:\windows\system32\advapi32.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\sechost.dll
c:\windows\system32\rpcrt4.dll
Total events
12 554
Read events
12 526
Write events
28
Delete events
0

Modification events

(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASAPI32
Operation:writeName:EnableFileTracing
Value:
0
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASAPI32
Operation:writeName:EnableAutoFileTracing
Value:
0
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASAPI32
Operation:writeName:EnableConsoleTracing
Value:
0
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASAPI32
Operation:writeName:FileTracingMask
Value:
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASAPI32
Operation:writeName:ConsoleTracingMask
Value:
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASAPI32
Operation:writeName:MaxFileSize
Value:
1048576
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASAPI32
Operation:writeName:FileDirectory
Value:
%windir%\tracing
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASMANCS
Operation:writeName:EnableFileTracing
Value:
0
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASMANCS
Operation:writeName:EnableAutoFileTracing
Value:
0
(PID) Process:(7084) EBnYUQMm.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\EBnYUQMm_RASMANCS
Operation:writeName:EnableConsoleTracing
Value:
0
Executable files
1
Suspicious files
4
Text files
2
Unknown types
0

Dropped files

PID
Process
Filename
Type
5988powershell.exeC:\Users\admin\AppData\Local\Temp\EBnYUQMm.exeexecutable
MD5:1688256F9CD82CE255A65C117463A518
SHA256:453D4956A8FC82A306C58CDD5597E278FF3D3294B6D8BBD2110E656355F91BBA
5988powershell.exeC:\Users\admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractivebinary
MD5:7478F19CAE96E9537585FD881B73A71A
SHA256:88645867D2165B536FC31FF0B46946E5D19D253A23C13FDEEA28F2AF48D26F4D
5988powershell.exeC:\Users\admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-msbinary
MD5:F1E908B739A30B740CF3EB58DB8585A5
SHA256:9AA84968CB0B731405BBB778FB1EE2E816424421DFA160F2B197B6602542B89C
5988powershell.exeC:\Users\admin\AppData\Local\Temp\__PSScriptPolicyTest_egihbwkl.gb1.psm1text
MD5:D17FE0A3F47BE24A6453E9EF58C94641
SHA256:96AD1146EB96877EAB5942AE0736B82D8B5E2039A80D3D6932665C1A4C87DCF7
5988powershell.exeC:\Users\admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms~RF10be41.TMPbinary
MD5:D040F64E9E7A2BB91ABCA5613424598E
SHA256:D04E0A6940609BD6F3B561B0F6027F5CA4E8C5CF0FB0D0874B380A0374A8D670
5988powershell.exeC:\Users\admin\AppData\Local\Temp\__PSScriptPolicyTest_ykodbcmv.5jl.ps1text
MD5:D17FE0A3F47BE24A6453E9EF58C94641
SHA256:96AD1146EB96877EAB5942AE0736B82D8B5E2039A80D3D6932665C1A4C87DCF7
5988powershell.exeC:\Users\admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\25YNHCJAU5AK9Z0AP8J0.tempbinary
MD5:F1E908B739A30B740CF3EB58DB8585A5
SHA256:9AA84968CB0B731405BBB778FB1EE2E816424421DFA160F2B197B6602542B89C
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
53
TCP/UDP connections
52
DNS requests
20
Threats
20

HTTP requests

PID
Process
Method
HTTP Code
IP
URL
CN
Type
Size
Reputation
2104
svchost.exe
GET
200
2.16.164.120:80
http://crl.microsoft.com/pki/crl/products/MicRooCerAut2011_2011_03_22.crl
unknown
whitelisted
7084
EBnYUQMm.exe
HEAD
200
176.65.134.79:80
http://176.65.134.79/HOST/BAGSNAKE.aska
unknown
malicious
7084
EBnYUQMm.exe
GET
200
176.65.134.79:80
http://176.65.134.79/HOST/BAGSNAKE.aska
unknown
malicious
6392
CasPol.exe
GET
200
193.122.130.0:80
http://checkip.dyndns.org/
unknown
whitelisted
6392
CasPol.exe
GET
200
193.122.130.0:80
http://checkip.dyndns.org/
unknown
whitelisted
GET
200
104.21.48.1:443
https://reallyfreegeoip.org/xml/88.241.56.255
unknown
GET
200
104.21.112.1:443
https://reallyfreegeoip.org/xml/88.241.56.255
unknown
GET
200
104.21.96.1:443
https://reallyfreegeoip.org/xml/88.241.56.255
unknown
GET
200
104.21.80.1:443
https://reallyfreegeoip.org/xml/88.241.56.255
unknown
GET
200
104.21.64.1:443
https://reallyfreegeoip.org/xml/88.241.56.255
unknown
Download PCAP, analyze network streams, HTTP content and a lot more at the full report

Connections

PID
Process
IP
Domain
ASN
CN
Reputation
2104
svchost.exe
4.231.128.59:443
settings-win.data.microsoft.com
MICROSOFT-CORP-MSN-AS-BLOCK
IE
whitelisted
4
System
192.168.100.255:137
whitelisted
1616
RUXIMICS.exe
4.231.128.59:443
settings-win.data.microsoft.com
MICROSOFT-CORP-MSN-AS-BLOCK
IE
whitelisted
4.231.128.59:443
settings-win.data.microsoft.com
MICROSOFT-CORP-MSN-AS-BLOCK
IE
whitelisted
4
System
192.168.100.255:138
whitelisted
2104
svchost.exe
2.16.164.120:80
crl.microsoft.com
Akamai International B.V.
NL
whitelisted
3216
svchost.exe
172.211.123.248:443
client.wns.windows.com
MICROSOFT-CORP-MSN-AS-BLOCK
FR
whitelisted
6544
svchost.exe
40.126.31.0:443
login.live.com
MICROSOFT-CORP-MSN-AS-BLOCK
IE
whitelisted
7084
EBnYUQMm.exe
176.65.134.79:80
Diogelo Ltd.
DE
malicious
6392
CasPol.exe
193.122.130.0:80
checkip.dyndns.org
ORACLE-BMC-31898
US
whitelisted

DNS requests

Domain
IP
Reputation
settings-win.data.microsoft.com
  • 4.231.128.59
  • 51.124.78.146
whitelisted
google.com
  • 216.58.206.46
whitelisted
crl.microsoft.com
  • 2.16.164.120
  • 2.16.164.72
  • 2.16.164.106
  • 2.16.164.9
  • 23.216.77.28
  • 23.216.77.6
whitelisted
client.wns.windows.com
  • 172.211.123.248
whitelisted
login.live.com
  • 40.126.31.0
  • 20.190.159.71
  • 40.126.31.73
  • 20.190.159.68
  • 20.190.159.64
  • 40.126.31.128
  • 40.126.31.1
  • 40.126.31.67
whitelisted
checkip.dyndns.org
  • 193.122.130.0
  • 132.226.247.73
  • 158.101.44.242
  • 132.226.8.169
  • 193.122.6.168
whitelisted
reallyfreegeoip.org
  • 104.21.32.1
  • 104.21.48.1
  • 104.21.80.1
  • 104.21.64.1
  • 104.21.96.1
  • 104.21.16.1
  • 104.21.112.1
malicious
api.telegram.org
  • 149.154.167.220
whitelisted
slscr.update.microsoft.com
  • 52.149.20.212
whitelisted
mail.alnozha-qa.com
  • 107.180.116.198
malicious

Threats

PID
Process
Class
Message
2196
svchost.exe
Device Retrieving External IP Address Detected
ET DYN_DNS External IP Lookup Domain in DNS Query (checkip .dyndns .org)
6392
CasPol.exe
Device Retrieving External IP Address Detected
ET INFO External IP Lookup - checkip.dyndns.org
6392
CasPol.exe
Device Retrieving External IP Address Detected
ET INFO 404/Snake/Matiex Keylogger Style External IP Check
6392
CasPol.exe
Device Retrieving External IP Address Detected
ET INFO External IP Lookup - checkip.dyndns.org
2196
svchost.exe
Misc activity
ET INFO External IP Address Lookup Domain in DNS Lookup (reallyfreegeoip .org)
2196
svchost.exe
Device Retrieving External IP Address Detected
INFO [ANY.RUN] External IP Address Lookup Domain (reallyfreegeoip .org)
6392
CasPol.exe
Misc activity
ET INFO External IP Lookup Service Domain (reallyfreegeoip .org) in TLS SNI
6392
CasPol.exe
Device Retrieving External IP Address Detected
ET INFO External IP Lookup - checkip.dyndns.org
6392
CasPol.exe
Device Retrieving External IP Address Detected
ET INFO External IP Lookup - checkip.dyndns.org
6392
CasPol.exe
Device Retrieving External IP Address Detected
ET INFO External IP Lookup - checkip.dyndns.org
No debug info