Analysis
- max time kernel
61s - max time network
62s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
02/06/2024, 16:24
Static task
static1
Behavioral task
behavioral1
Sample
bebra.sfx.exe
Resource
win10v2004-20240508-en
General
- Target bebra.sfx.exe
- Size 481KB
- Sample240602-twl1rage4x
- SHA256 b993bacbb19980f7bfef90bb4021b627f0ade8d04b55df36fda014804a05e1dd
- MD5 8be241f6a182de8cdc648dff7f1f292c
- SHA1 4aa5655950d081968824212e756b954702cd33c5
- SHA512 4d18d42f5fc3f144722b443cde860c43cba276a4445224c324e8be66413fb2335c6de6543d251b95eb9237e8f9d8614f45337d5b5da2aaa18f4ff10c1046a8bd
- SSDEEP 12288:yyveQB/fTHIGaPkKEYzURNAwbAgOT+t1AFZB0:yuDXTIGaPhEYzUzA0bAFc
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
xworm
-
consider-catalog.gl.at.ply.gg:61770
-
Install_directory
%AppData%
-
install_file
bebra.exe
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral1/files/0x0005000000022978-4.dat family_xworm behavioral1/memory/2052-13-0x00000000004D0000-0x00000000004EA000-memory.dmp family_xworm - Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 632 powershell.exe 4400 powershell.exe 1480 powershell.exe 312 powershell.exe - Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation bebra.sfx.exe Key value queried \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation bebra.exe - Drops startup file 2 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\bebra.lnk bebra.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\bebra.lnk bebra.exe - Executes dropped EXE 2 IoCs
pid Process 2052 bebra.exe 2504 bebra.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\bebra = "C:\\Users\\Admin\\AppData\\Roaming\\bebra.exe" bebra.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 20 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Checks SCSI registry key(s) 3 TTPs 3 IoCs
SCSI information is often read in order to detect sandboxing environments.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\SCSI\Disk&Ven_DADY&Prod_HARDDISK\4&215468a5&0&000000 taskmgr.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\SCSI\Disk&Ven_DADY&Prod_HARDDISK\4&215468a5&0&000000\Properties\{b725f130-47ef-101a-a5f1-02608c9eebac}\000A taskmgr.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\SCSI\Disk&Ven_DADY&Prod_HARDDISK\4&215468a5&0&000000\FriendlyName taskmgr.exe - Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1540 schtasks.exe - Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000_Classes\Local Settings taskmgr.exe - Suspicious behavior: EnumeratesProcesses 58 IoCs
pid Process 632 powershell.exe 632 powershell.exe 4400 powershell.exe 4400 powershell.exe 1480 powershell.exe 1480 powershell.exe 1480 powershell.exe 312 powershell.exe 312 powershell.exe 312 powershell.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 2052 bebra.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe - Suspicious use of AdjustPrivilegeToken 10 IoCs
description pid Process Token: SeDebugPrivilege 2052 bebra.exe Token: SeDebugPrivilege 632 powershell.exe Token: SeDebugPrivilege 4400 powershell.exe Token: SeDebugPrivilege 1480 powershell.exe Token: SeDebugPrivilege 312 powershell.exe Token: SeDebugPrivilege 2052 bebra.exe Token: SeDebugPrivilege 2504 bebra.exe Token: SeDebugPrivilege 3848 taskmgr.exe Token: SeSystemProfilePrivilege 3848 taskmgr.exe Token: SeCreateGlobalPrivilege 3848 taskmgr.exe - Suspicious use of FindShellTrayWindow 43 IoCs
pid Process 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe - Suspicious use of SendNotifyMessage 43 IoCs
pid Process 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe 3848 taskmgr.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2052 bebra.exe - Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 404 wrote to memory of 2052 404 bebra.sfx.exe 92 PID 404 wrote to memory of 2052 404 bebra.sfx.exe 92 PID 2052 wrote to memory of 632 2052 bebra.exe 95 PID 2052 wrote to memory of 632 2052 bebra.exe 95 PID 2052 wrote to memory of 4400 2052 bebra.exe 97 PID 2052 wrote to memory of 4400 2052 bebra.exe 97 PID 2052 wrote to memory of 1480 2052 bebra.exe 100 PID 2052 wrote to memory of 1480 2052 bebra.exe 100 PID 2052 wrote to memory of 312 2052 bebra.exe 103 PID 2052 wrote to memory of 312 2052 bebra.exe 103 PID 2052 wrote to memory of 1540 2052 bebra.exe 105 PID 2052 wrote to memory of 1540 2052 bebra.exe 105 - 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:\Users\Admin\AppData\Local\Temp\bebra.sfx.exe"C:\Users\Admin\AppData\Local\Temp\bebra.sfx.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:404 -
C:\Users\Admin\AppData\Roaming\bebra.exe"C:\Users\Admin\AppData\Roaming\bebra.exe"2⤵
- Checks computer location settings
- Drops startup file
- Executes dropped EXE
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2052 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\bebra.exe'3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:632
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'bebra.exe'3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4400
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\bebra.exe'3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1480
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'bebra.exe'3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:312
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "bebra" /tr "C:\Users\Admin\AppData\Roaming\bebra.exe"3⤵
- Creates scheduled task(s)
PID:1540
-
-
-
C:\Users\Admin\AppData\Roaming\bebra.exeC:\Users\Admin\AppData\Roaming\bebra.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2504
-
C:\Windows\system32\taskmgr.exe"C:\Windows\system32\taskmgr.exe" /71⤵
- Checks SCSI registry key(s)
- Modifies registry class
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of FindShellTrayWindow
- Suspicious use of SendNotifyMessage
PID:3848
-
C:\Windows\System32\rundll32.exeC:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding1⤵PID:3356
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
- MD5 d85ba6ff808d9e5444a4b369f5bc2730
- SHA1 31aa9d96590fff6981b315e0b391b575e4c0804a
- SHA512 8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 21e5d7ccf80a293e6ba30ed728846ca19c929c52b96e2c8d34e27cd2234f1d45
- MD5 d28a889fd956d5cb3accfbaf1143eb6f
- SHA1 157ba54b365341f8ff06707d996b3635da8446f7
- SHA512 0b6d88deb9be85722e6a78d5886d49f2caf407a59e128d2b4ed74c1356f9928c40048a62731959f2460e9ff9d9feee311043d2a37abe3bb92c2b76a44281478c
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 ea15b7391032b3c560a1439748db31c2ba6452cbe653f5647cb73ce452204747
- MD5 eb5b12507f0a707644e75afe0341b009
- SHA1 ff8bf799cbd23a53db973e38508af3b129294466
- SHA512 8501aa2f7c89f50cf5b6dff0302453e91f72a1a9d250718c42e2abc288a2359c2a705042b483459691aa60e2bae68a4d54a17d190b5c5a50a2c9e5b74dd27d31
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 30bf8496e9a08f4fdfe4767abcd565f92b6da06ca1c7823a70cb7cab16262e51
- MD5 98baf5117c4fcec1692067d200c58ab3
- SHA1 5b33a57b72141e7508b615e17fb621612cb8e390
- SHA512 344a70bfc037d54176f12db91f05bf4295bb587a5062fd1febe6f52853571170bd8ef6042cb87b893185bbae1937cf77b679d7970f8cc1c2666b0b7c1b32987d
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_3qb32hn4.gdx.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\bebra.lnk
- Size 759B
- SHA256 119fc5e34e9ba1d64f5ad391389cba2bd7ec0cb90e09d40435f94f1c94ad0eb3
- MD5 21aa82fd2bd4226250da608ff55918c6
- SHA1 f3f90a0396b9d5608939e33dc25400887729e1ca
- SHA512 66252750868f64fe52cd75ca21730ea115e5814280071bc9fa837d919e72c0e91d2b6da2ef9a1e28e41b164470ee948b37e8fecc8a9c0a61385c23e6f3ce00f1
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\bebra.exe
- Size 75KB
- SHA256 dc5e324b65dcb96caa598f6080a2c3ce7bc95634890fadbec3411d0fd7764362
- MD5 2fd31aaa38c67321efb5f31b5659837c
- SHA1 edf64ed1bc8dda641051df0d3ed652850d1a9d4c
- SHA512 24dba2d242a86763ae7b79d4fe54a560715423e0726170c494ece97387f861bc43637ac0216d90e4d340b4ee6af2632ae622841b4e7b83339495792b17b7194c
- SSDEEP 1536:NdYEvq1Dht3njgMcsRNySqabFZnZhsU699Z/ZOpR+O8d0xky:NlvqL9ln7bFHCtrOpIO8d0yy
- MD5 SHA1 SHA512 SSDEEP