Analysis

  • max time kernel
    145s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    01-02-2025 19:23

General

  • Target

    2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe

  • Size

    10.8MB

  • MD5

    4693eebab2f0d0905d6bc962b3243ff7

  • SHA1

    e516672eddb46d806493e9c917d5a30f52603cc6

  • SHA256

    6f22c8dc2465a76e36a0c03c271309309c86d009dfe2d5158229a52c9ecd8401

  • SHA512

    e91d1b2c07a8aaf6743addd740ecb9a662df8a037763c02fac2ed84e778609c43981acd7a3190e7b3702c0ec1bbee4bf87c0faecfb02937f519f4f501881f2ab

  • SSDEEP

    196608:pyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:kXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\toqfemki\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bxppmbao.exe" C:\Windows\SysWOW64\toqfemki\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2176
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create toqfemki binPath= "C:\Windows\SysWOW64\toqfemki\bxppmbao.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description toqfemki "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start toqfemki
      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:2832
  • C:\Windows\SysWOW64\toqfemki\bxppmbao.exe
    C:\Windows\SysWOW64\toqfemki\bxppmbao.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2852
    • 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:2704

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.9MB

    MD5

    2c08639af655ac07d6f5ce90f6ee42d2

    SHA1

    5b03b03e477a22c213f216c2b3c70c4a0a4b8232

    SHA256

    82e6593d33cce667bb004f46ee70fd8e9bd8eb307d919bed1f6a95f763c39a09

    SHA512

    39b34e534beaa9506ec4e384106b655dbcacd4122792e2b4a4701ef7f3bbaa3bb25cf0fc44f65f1993b627e63e8d1aa5b6b122dc977b3485d49ad1ec924d61a9

  • memory/2704-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2704-8-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2704-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2704-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2704-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2852-12-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2916-1-0x0000000000630000-0x0000000000730000-memory.dmp

    Filesize

    1024KB

  • memory/2916-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2916-14-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2916-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB