Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    03-02-2025 21:31

General

  • Target

    2025-02-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe

  • Size

    13.7MB

  • MD5

    cecfedd80e6ce58f5f51f89eede80cb1

  • SHA1

    672458345dd8a157144a9a92c9581dc6ed7b38fb

  • SHA256

    49fc37c7bc96e3404766250bc2dcddd9f68affee187305de2d1311d38b01411a

  • SHA512

    be151d034df69a6e200fd0e9dd1bf13fd87d4a96c928aa777d6607c5d5bb75a594c6e5bd5af88d1e43c558bd75b12eab61843d43921d15e89894c6a535e182ff

  • SSDEEP

    6144:7LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ9:QTYe+D2jFu+iZoUFhAz

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_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tjnquxf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fhalsaoe.exe" C:\Windows\SysWOW64\tjnquxf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tjnquxf binPath= "C:\Windows\SysWOW64\tjnquxf\fhalsaoe.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tjnquxf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tjnquxf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2832
    • 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:2640
  • C:\Windows\SysWOW64\tjnquxf\fhalsaoe.exe
    C:\Windows\SysWOW64\tjnquxf\fhalsaoe.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2784
    • 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:2692

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.7MB

    MD5

    87c8113109423ff939b95f2c646e93ba

    SHA1

    ba833660898212c66967d58fa9de70b6611909fa

    SHA256

    2e260467a4c985cbed1e2baa7e6f1455c76cc1cf1811d944d80aaf0809548b72

    SHA512

    1c8b3f05c6ec457bed5fef5a7f40d5bbac94df38ab867e6eb1f3ca56fb0a1e15b2ede11c98fdfe40813449a751f4ab824fef5d7f5c04b2343361c12def8db959

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1996-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

  • memory/1996-1-0x00000000002F0000-0x00000000003F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2784-15-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB