Analysis

  • max time kernel
    145s
  • max time network
    157s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-01-2025 20:26

General

  • Target

    2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe

  • Size

    11.8MB

  • MD5

    991f4a42ff851f8b3363db9251d39ea2

  • SHA1

    cfc4f31a7e136b93081c4ce0c7eb013e3b56a8b7

  • SHA256

    9965d42357361bba917eeeaaefc632514b424626b965ea69d8c2523c70de681b

  • SHA512

    87d7c5cc0a3897674950a0c0ded324cf8b61cff5ecb1419e295f8081c7e660e8a82832ae0e30ceaf1a9b11630e1b706697291c1c9f63d3b1200147934b118585

  • SSDEEP

    49152:lqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:lqtYc3

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\njcrdijf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fesuifgy.exe" C:\Windows\SysWOW64\njcrdijf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create njcrdijf binPath= "C:\Windows\SysWOW64\njcrdijf\fesuifgy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2340
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description njcrdijf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start njcrdijf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1248
    • 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:4176
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4816 -s 1184
      2⤵
      • Program crash
      PID:4644
  • C:\Windows\SysWOW64\njcrdijf\fesuifgy.exe
    C:\Windows\SysWOW64\njcrdijf\fesuifgy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1176
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1176 -s 520
      2⤵
      • Program crash
      PID:4980
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1176 -ip 1176
    1⤵
      PID:1876
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4816 -ip 4816
      1⤵
        PID:3668

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        99f65f4ddb8945e8854021f9c2a0dbff

        SHA1

        a0325383e78ca77b58844b4d8d5a4036a8a66b25

        SHA256

        f24de00dd0f21f382fb42034498b688fde16a4c6de14d2f9cb94bbeab1f89bd7

        SHA512

        f3ca13ed187c34a29fb04581a2bd1f20087eced1baaba565627a53ce705cfea5948a6229dc88834a099d626a2b588e2d1bdab09486a22032893be0e5037a7359

      • memory/452-8-0x0000000000B10000-0x0000000000B25000-memory.dmp

        Filesize

        84KB

      • memory/452-14-0x0000000000B10000-0x0000000000B25000-memory.dmp

        Filesize

        84KB

      • memory/452-15-0x0000000000B10000-0x0000000000B25000-memory.dmp

        Filesize

        84KB

      • memory/1176-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4816-1-0x0000000002E40000-0x0000000002F40000-memory.dmp

        Filesize

        1024KB

      • memory/4816-2-0x0000000003210000-0x0000000003223000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4816-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4816-12-0x0000000003210000-0x0000000003223000-memory.dmp

        Filesize

        76KB

      • memory/4816-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB