Analysis

  • max time kernel
    147s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    03-02-2025 17:45

General

  • Target

    2025-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe

  • Size

    11.5MB

  • MD5

    47ed08a16022179f606ebc1e85a106a2

  • SHA1

    ef06e1bfdf17852a217860366ebea4250d5d5b10

  • SHA256

    4a6a65e02edd13135e496081f0b9807ef98b1dfef11aee8d0d7105899edfa626

  • SHA512

    09e07353cef3bf3384818c7db41dc1cb32e59b191c1d5be39b62bfa44f3e70aadf6076edf75bd0f884dcc6b23d8705b2633d889e674e9fd78dfe20b7b5d04d4e

  • SSDEEP

    3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/i:POMdRQr7OB0ypmMXnl8XEPM3noSWOCb

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-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gcsnshzu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2924
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lngryguk.exe" C:\Windows\SysWOW64\gcsnshzu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gcsnshzu binPath= "C:\Windows\SysWOW64\gcsnshzu\lngryguk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gcsnshzu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gcsnshzu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • 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:3048
  • C:\Windows\SysWOW64\gcsnshzu\lngryguk.exe
    C:\Windows\SysWOW64\gcsnshzu\lngryguk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2116
    • 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:2720

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    b59328389a56e84946885aed773e4262

    SHA1

    3462712a9435a0354652845510e168cf3fc0fc42

    SHA256

    d61b138bbeef2dea321f6ddaf094a4e3ed54d82c9197e5ddbf4376adb4c0e432

    SHA512

    aaabab2be2a34916c3ac4bd61598fd578c744920c8c61ec8cf3eef5bf751b9ab316d971249adc609480f41d3512b0948b62fe922f70f69bbb2ea712dd59ed6fe

  • memory/796-6-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/796-1-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB

  • memory/796-8-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/796-7-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/2116-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2720-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2720-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2720-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2720-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2720-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB