Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-01-2025 18:52

General

  • Target

    2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe

  • Size

    11.9MB

  • MD5

    cf1ee4c0d22d48ebd7ba5de6d28e37ff

  • SHA1

    feffa2b1e47bb1770e61c0f1b76b37cb4ee4ad1d

  • SHA256

    5cdda5a30dfac65c765ddba79a5eb58eea819a818347e6b9a15e138a553e9c1c

  • SHA512

    6fd0cf200d338613a6eabfe20d12576572c73d12f99e01a7e1b2d431d3b692b6fbb2149e9a48463ee9235bb2e1dfefae692c1e11f9cdf20e970624841b3892b1

  • 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-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lyinilei\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eyypajac.exe" C:\Windows\SysWOW64\lyinilei\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lyinilei binPath= "C:\Windows\SysWOW64\lyinilei\eyypajac.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lyinilei "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lyinilei
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5056
    • 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:3568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 412 -s 1032
      2⤵
      • Program crash
      PID:3660
  • C:\Windows\SysWOW64\lyinilei\eyypajac.exe
    C:\Windows\SysWOW64\lyinilei\eyypajac.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4932
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4356
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4932 -s 516
      2⤵
      • Program crash
      PID:3648
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 412 -ip 412
    1⤵
      PID:4868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4932 -ip 4932
      1⤵
        PID:4760

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        2249cef1333eff73514f42adad7ea019

        SHA1

        775d2a02ca747114f0d30692ed77d880dc7d755d

        SHA256

        89eead8658c825bdcb6f4ea1b7fc47658fb6b96d906d266068a8a2e9f61cf2e1

        SHA512

        c0e99990e8718a9e906e142e72a5b0ba2dcdc367f88f5f9300a021e28a614d3cec5e40c6c411bea08a4b6692e8b82d399e32ccdebe13eda705ea6ac7b9f7abca

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

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        41.8MB

      • memory/4356-8-0x00000000004C0000-0x00000000004D5000-memory.dmp

        Filesize

        84KB

      • memory/4356-14-0x00000000004C0000-0x00000000004D5000-memory.dmp

        Filesize

        84KB

      • memory/4356-15-0x00000000004C0000-0x00000000004D5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        41.8MB