Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 21:03

General

  • Target

    2025-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe

  • Size

    14.6MB

  • MD5

    5064cee5798d773cad820843b51d16e2

  • SHA1

    e66564877d3ab5159df18a3b33e6e5d986abb001

  • SHA256

    20b143a42530912526b25054ae421a45ae7aeb25891b0ad8b92089c03187cb11

  • SHA512

    f444e8cc454bc0201a47c63fc78e8e8a12a87dd58614804ef7f28794c245bd371a13b38ee61275fbb937ca337c7f99721baa1c3eb263ff5abe9397bd18f2ba67

  • SSDEEP

    49152:PqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:PqtYc3

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-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ajmnzwzo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\evdblgnb.exe" C:\Windows\SysWOW64\ajmnzwzo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ajmnzwzo binPath= "C:\Windows\SysWOW64\ajmnzwzo\evdblgnb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ajmnzwzo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ajmnzwzo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1848
    • 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:544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3668 -s 652
      2⤵
      • Program crash
      PID:4628
  • C:\Windows\SysWOW64\ajmnzwzo\evdblgnb.exe
    C:\Windows\SysWOW64\ajmnzwzo\evdblgnb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_5064cee5798d773cad820843b51d16e2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3932
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1560
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3932 -s 532
      2⤵
      • Program crash
      PID:1748
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3668 -ip 3668
    1⤵
      PID:1884
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3932 -ip 3932
      1⤵
        PID:936

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        f29417892dce11496283b972de6c17db

        SHA1

        92169bca8dd9c3a0baee493b5a7aed68dcfa9fe8

        SHA256

        7dcae750b86a5d7e0566fabcc931fa332bc69c15e3aae5a7150d0c2f5acff292

        SHA512

        97362fa5ef352af678d17bd99866ddc9f54414cce51771e82fb73f728bfdb8e87f87384bfa82b72e0b09263b0b47e4cc8068e6c0155087958a3dfa12abd65680

      • memory/1560-8-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/1560-14-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/1560-15-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/3668-1-0x0000000002E70000-0x0000000002F70000-memory.dmp

        Filesize

        1024KB

      • memory/3668-2-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3668-12-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB

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

        Filesize

        41.8MB