Analysis

  • max time kernel
    145s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    25-01-2025 18:54

General

  • Target

    2025-01-25_b137c1122cdf7928ea36ec3683589cce_mafia.exe

  • Size

    12.3MB

  • MD5

    b137c1122cdf7928ea36ec3683589cce

  • SHA1

    b68d7899b7a539407f887889c55045d477926acd

  • SHA256

    821d32ec3b1096bab5043eb2a972bdd0bad4335ec556347d6bbcc5a7d876f46a

  • SHA512

    622594adfbf65e7cc3f844fd3d5d3ca3eb0a70330eaa3d1736d7349c2c5041229b48a622d30ef3e6edf2e25812d4f415d8357416e35cf1421985c1c27a3531ba

  • SSDEEP

    393216:5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-25_b137c1122cdf7928ea36ec3683589cce_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_b137c1122cdf7928ea36ec3683589cce_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\poqjjgfg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mdljtovj.exe" C:\Windows\SysWOW64\poqjjgfg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create poqjjgfg binPath= "C:\Windows\SysWOW64\poqjjgfg\mdljtovj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_b137c1122cdf7928ea36ec3683589cce_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2612
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description poqjjgfg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start poqjjgfg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2592
  • C:\Windows\SysWOW64\poqjjgfg\mdljtovj.exe
    C:\Windows\SysWOW64\poqjjgfg\mdljtovj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_b137c1122cdf7928ea36ec3683589cce_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2576
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1920

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\mdljtovj.exe

    Filesize

    10.3MB

    MD5

    1585838a1452d30f4fcf025bb24bf30e

    SHA1

    61361543e7a630c1c886c011d80018b9b2379581

    SHA256

    7f8cdecf67c207c68156e2abf37e0b0b560f1a3beab472c51880056837e853fc

    SHA512

    459aa3c3c3f2b4bc77ab72ce9d515e2e3c6b74579d86367cb3c404a559312116bcb50b63826ff6f9cbfd57e7e6f4e05d6820e95485d78845a8da46733d02832c

  • memory/1920-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1920-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1920-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/1920-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1920-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2576-18-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2680-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2680-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2680-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2680-9-0x0000000000230000-0x0000000000330000-memory.dmp

    Filesize

    1024KB

  • memory/2680-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2680-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2680-1-0x0000000000230000-0x0000000000330000-memory.dmp

    Filesize

    1024KB