Analysis

  • max time kernel
    146s
  • max time network
    124s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 05:58

General

  • Target

    2025-01-31_d2aa8a89bed9a2fce489567b59d15112_mafia.exe

  • Size

    11.9MB

  • MD5

    d2aa8a89bed9a2fce489567b59d15112

  • SHA1

    51040b5011828b7a3f995af3e7bff3aa954be3fa

  • SHA256

    8090e1afcab6554937edd0bc8c587ed5449e5954f3287e089b948eef719e3f49

  • SHA512

    f9a4e9f60c3afbca32e4dc4ea7f34b02aea23d74e8eb2bb9e47947eb45c1f91e5c3caf3b83eaadc82d7126637c5b580149490e65cc67839a6d2d79ff677e5c08

  • SSDEEP

    49152:OqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPS:OqtYc3z

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-31_d2aa8a89bed9a2fce489567b59d15112_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_d2aa8a89bed9a2fce489567b59d15112_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gwxsodmf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jlgmfsc.exe" C:\Windows\SysWOW64\gwxsodmf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gwxsodmf binPath= "C:\Windows\SysWOW64\gwxsodmf\jlgmfsc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_d2aa8a89bed9a2fce489567b59d15112_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gwxsodmf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gwxsodmf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1204
    • 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:2864
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4880 -s 1168
      2⤵
      • Program crash
      PID:512
  • C:\Windows\SysWOW64\gwxsodmf\jlgmfsc.exe
    C:\Windows\SysWOW64\gwxsodmf\jlgmfsc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_d2aa8a89bed9a2fce489567b59d15112_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1236
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2844
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1236 -s 520
      2⤵
      • Program crash
      PID:4920
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1236 -ip 1236
    1⤵
      PID:1080
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 4880 -ip 4880
      1⤵
        PID:2996

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        a41cd4b567d670f140c07e5c7a638785

        SHA1

        8bbf14e2734ca021971a9e57e8acf30f0344a713

        SHA256

        24b30fb09381ff684938dafc8235cc8561849a316599a7f512bb000571bb0079

        SHA512

        2b4f1c782cd646e8445015a082640fe34002bbc66cd6c3e72e7426da2f061cad73f42ce9104eabcb367cffa88087fc9d76a6d5cc54a5504d70fd0a0614c0e85d

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

        Filesize

        41.8MB

      • memory/2844-8-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/2844-14-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/2844-15-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/4880-1-0x0000000002EB0000-0x0000000002FB0000-memory.dmp

        Filesize

        1024KB

      • memory/4880-2-0x0000000003200000-0x0000000003213000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4880-12-0x0000000003200000-0x0000000003213000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB