Analysis

  • max time kernel
    144s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    28/01/2025, 13:03

General

  • Target

    2025-01-28_91e00ddfcee930141b272e4430592f29_mafia.exe

  • Size

    12.3MB

  • MD5

    91e00ddfcee930141b272e4430592f29

  • SHA1

    db437292dd260d76c88cb026a163a7899564db9f

  • SHA256

    334796ca3f20363eeb932c79b813eaf27f4b3e750965f1f48e129a2280444134

  • SHA512

    26921e09a65f7807653af44142af750127ebad427c9cb1c8beb196c265f4964e3be9b8a9d1504aca4796f2656039e45942d39d90e6ac72a05c14a046b5227d5f

  • SSDEEP

    393216:5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXt:T

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-28_91e00ddfcee930141b272e4430592f29_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_91e00ddfcee930141b272e4430592f29_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mqbnxyph\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jlepwesi.exe" C:\Windows\SysWOW64\mqbnxyph\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mqbnxyph binPath= "C:\Windows\SysWOW64\mqbnxyph\jlepwesi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_91e00ddfcee930141b272e4430592f29_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mqbnxyph "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mqbnxyph
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • 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:2904
  • C:\Windows\SysWOW64\mqbnxyph\jlepwesi.exe
    C:\Windows\SysWOW64\mqbnxyph\jlepwesi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_91e00ddfcee930141b272e4430592f29_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2868
    • 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:1752

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.9MB

    MD5

    54ea9a95f5f090694fc8be6ed2dd710e

    SHA1

    93539ca436655b594692b932ed932986533c8a8f

    SHA256

    3217c6e1522a10c06c0a6f08cfdb757ad6269bb2a9be0f3fba25949c2baf4b32

    SHA512

    fef1e543313b7ddadcce303688aaa2dadb7de099c853ca2ab63822a4bae639e2baaf0e212cee4038d08c50449ea09b75700d2ac1a1bdb78d516e9ff38e6f1a6d

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2124-1-0x0000000000520000-0x0000000000620000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2124-9-0x0000000000520000-0x0000000000620000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    372KB

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

    Filesize

    76KB

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

    Filesize

    372KB