Analysis

  • max time kernel
    146s
  • 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
    18-01-2025 20:30

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:3596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxpjlnpf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1160
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\joytnzwy.exe" C:\Windows\SysWOW64\sxpjlnpf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sxpjlnpf binPath= "C:\Windows\SysWOW64\sxpjlnpf\joytnzwy.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:3060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sxpjlnpf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sxpjlnpf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:348
    • 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:4132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3596 -s 1344
      2⤵
      • Program crash
      PID:4052
  • C:\Windows\SysWOW64\sxpjlnpf\joytnzwy.exe
    C:\Windows\SysWOW64\sxpjlnpf\joytnzwy.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:3188
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:64
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3188 -s 512
      2⤵
      • Program crash
      PID:2744
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3596 -ip 3596
    1⤵
      PID:2104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3188 -ip 3188
      1⤵
        PID:4296

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        a9ce847290d0ce3e35acc77dd5ecd2a6

        SHA1

        392ad31d336d00af3d8dc494a26fa618fe171949

        SHA256

        c6255e0b0607a346bc1014ab7e2d092a720271180c3fd8b16d47c35f4ac1930d

        SHA512

        5cdd3286673724308560940ed2b3223b9994b016d28b76c8e0fbd38bc53b77272f5a33cb04181f5496564263eac7ab768613541589eb519f48f71a17ee296596

      • memory/64-8-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/64-14-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/64-15-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

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

        Filesize

        41.8MB

      • memory/3596-1-0x0000000003150000-0x0000000003250000-memory.dmp

        Filesize

        1024KB

      • memory/3596-2-0x0000000002F00000-0x0000000002F13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3596-12-0x0000000002F00000-0x0000000002F13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB