Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 15:46

General

  • Target

    2025-01-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe

  • Size

    10.0MB

  • MD5

    e131e7ea13ef16f914940ac7fa24064c

  • SHA1

    75039b2cc40d3c616042957b016b4b9097495820

  • SHA256

    163e6be7e3d945dc57382762b6857e47f6c966d0e8529ba1775cc7143e0bc39e

  • SHA512

    9e8c2dd4cda0351845218bd84abc4b5dc05060b68ba50bae8281616311092443ce178a377aa97522a955da95423b8b4f6ec3ef0384945ca9ac2642d01f87c146

  • SSDEEP

    6144:BVXdWonWCgHBEJE968VNNXSB3sFD+yZpp:7bnWvHBEJM6WNNCB36D+y

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 3 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-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4624
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kmydljud\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1660
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\keevgpgi.exe" C:\Windows\SysWOW64\kmydljud\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kmydljud binPath= "C:\Windows\SysWOW64\kmydljud\keevgpgi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kmydljud "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kmydljud
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2708
    • 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:228
  • C:\Windows\SysWOW64\kmydljud\keevgpgi.exe
    C:\Windows\SysWOW64\kmydljud\keevgpgi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1652
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1652 -s 660
      2⤵
      • Program crash
      PID:956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1652 -s 908
      2⤵
      • Program crash
      PID:3576
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1652 -s 916
      2⤵
      • Program crash
      PID:2588
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1652 -ip 1652
    1⤵
      PID:2668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 1652 -ip 1652
      1⤵
        PID:3856
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 1652 -ip 1652
        1⤵
          PID:1372

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          11.2MB

          MD5

          0fd98d0e3a3e49643dd451626bf4e0d1

          SHA1

          4bb68d4a6d2e79479211df506548bc5ab4298b6b

          SHA256

          1397e612ecf323118b1bd3fd2f1e85250301e019c50347868a09bf84536ac616

          SHA512

          d1a5542212d9587d964c9d132b657190b24aa997f567acadc92109d85d299332ab63829de6bbb96ba2626a1458f2bd621c7cbd3fe9df74270e9104400af36f4f

        • memory/628-15-0x00000000005E0000-0x00000000005F5000-memory.dmp

          Filesize

          84KB

        • memory/628-19-0x00000000005E0000-0x00000000005F5000-memory.dmp

          Filesize

          84KB

        • memory/628-18-0x00000000005E0000-0x00000000005F5000-memory.dmp

          Filesize

          84KB

        • memory/1652-14-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/1652-13-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/1652-12-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/1652-20-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

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

          Filesize

          84KB

        • memory/4624-9-0x0000000000540000-0x0000000000553000-memory.dmp

          Filesize

          76KB

        • memory/4624-1-0x0000000000570000-0x0000000000670000-memory.dmp

          Filesize

          1024KB

        • memory/4624-8-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

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

          Filesize

          84KB

        • memory/4624-2-0x0000000000540000-0x0000000000553000-memory.dmp

          Filesize

          76KB