Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-01-2025 19:01

General

  • Target

    2025-01-17_02577feabbae5a6cced18fe55be24b83_mafia.exe

  • Size

    13.2MB

  • MD5

    02577feabbae5a6cced18fe55be24b83

  • SHA1

    375768302cfbf7082178ba7f02cb1589d4c52667

  • SHA256

    ddf834663f80601bbcb921d17ef5904d405a28ff68fbf21ce521794c0f4a34f4

  • SHA512

    77c634c4b339387c0c16bc69f3c49dc1b2fbae3bc1a2ef78153d2b316710f285345692b646a9da1f0e6da7c7f8d33c421134a8b6cfefca7c239f74ffbaf025e8

  • SSDEEP

    49152:oqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:oqtYc3

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-17_02577feabbae5a6cced18fe55be24b83_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-17_02577feabbae5a6cced18fe55be24b83_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\swddmiup\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eefqlmks.exe" C:\Windows\SysWOW64\swddmiup\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create swddmiup binPath= "C:\Windows\SysWOW64\swddmiup\eefqlmks.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-17_02577feabbae5a6cced18fe55be24b83_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description swddmiup "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start swddmiup
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:956
    • 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:880
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1832 -s 1036
      2⤵
      • Program crash
      PID:3124
  • C:\Windows\SysWOW64\swddmiup\eefqlmks.exe
    C:\Windows\SysWOW64\swddmiup\eefqlmks.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-17_02577feabbae5a6cced18fe55be24b83_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1392
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:8
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1392 -s 560
      2⤵
      • Program crash
      PID:2620
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1832 -ip 1832
    1⤵
      PID:5072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1392 -ip 1392
      1⤵
        PID:1912

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        85457779785608685a1ce5da07672701

        SHA1

        2fcc99b3645d691eafbc1f410a1a441bafa8b994

        SHA256

        4ea62b09eae0fc8df3f4ffda391ef34f6c400aa3b5b801de64df4420c5b5dd60

        SHA512

        72821ddbdd5d54d8502ee30629f44d3ef8ecd9b7be5c232687be8fda838ca9ee824ce9ceba530cdb125054ba916ecff3f34112d026098a5e41235ff426ac622f

      • memory/8-8-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

      • memory/8-14-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

      • memory/8-15-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

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

        Filesize

        41.8MB

      • memory/1832-1-0x0000000002EF0000-0x0000000002FF0000-memory.dmp

        Filesize

        1024KB

      • memory/1832-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1832-12-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB