Analysis

  • max time kernel
    144s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    28/01/2025, 16:06

General

  • Target

    2025-01-28_88f01df779e44b11a5c92de6ab31f26a_mafia.exe

  • Size

    14.5MB

  • MD5

    88f01df779e44b11a5c92de6ab31f26a

  • SHA1

    d1b06f61901b428b6ad5e8c78cf348722e88daf6

  • SHA256

    a60f03d551fd71fc52fc8bd2483a6c6f20bb7ab187958c1983c1a946edb2c478

  • SHA512

    c2555bf098dbfb72173093361eea38cbf0893bbf2d82292ef52d796c5b9e991af9c473c67a291489862a0789ec1de95e588ae5ffaf6a748513293b0725bf832b

  • SSDEEP

    24576:eEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ+:3fotQ

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_88f01df779e44b11a5c92de6ab31f26a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_88f01df779e44b11a5c92de6ab31f26a_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hlcwdmpb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wytzsfp.exe" C:\Windows\SysWOW64\hlcwdmpb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hlcwdmpb binPath= "C:\Windows\SysWOW64\hlcwdmpb\wytzsfp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_88f01df779e44b11a5c92de6ab31f26a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hlcwdmpb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hlcwdmpb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • 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:2772
  • C:\Windows\SysWOW64\hlcwdmpb\wytzsfp.exe
    C:\Windows\SysWOW64\hlcwdmpb\wytzsfp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_88f01df779e44b11a5c92de6ab31f26a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2928
    • 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:2316

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.1MB

    MD5

    8cfa70f262a6af12671b631ecacb6836

    SHA1

    3b88f2730afe4d9ea01ea5186831662c8bd36047

    SHA256

    91759943a3254b6fde3e7493ec513c223e15d1ca1d0ffbe61c53c7b313696737

    SHA512

    40d559856dd01a6c25583c9e8ad8ec016744d68e31a8551e808ae60708f4432656df14c25972d526da0e5c5c2063b882d169cdbf748fc661fc380a0513884728

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

    Filesize

    4KB

  • memory/2316-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2316-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2316-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2316-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2556-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

    Filesize

    1024KB

  • memory/2556-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2556-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    76KB

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

    Filesize

    312KB