Analysis

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

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

General

  • Target

    2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe

  • Size

    11.2MB

  • MD5

    3b455b31246b8a9a6548681d39c5fb5d

  • SHA1

    822afd920a826ff81013822285e6e82fe81bf076

  • SHA256

    c878285d30d32d75b6ed5a17f5ef3ce3fd264ac4ad367264e32b81dab57ee549

  • SHA512

    83290f9a90590015df1f3e0a3643cc98e02998ea38ba2f3dbfd3c9832bbb19465e7503a98cdaab13c1c866796cc2ef5fe870f8961043825194f391bc20750df3

  • SSDEEP

    6144:nLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQw:MTYe+D2jFu+iZoUFhAz

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-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\frvtcacb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\saptgenn.exe" C:\Windows\SysWOW64\frvtcacb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create frvtcacb binPath= "C:\Windows\SysWOW64\frvtcacb\saptgenn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description frvtcacb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start frvtcacb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4932
    • 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:2824
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4580 -s 1036
      2⤵
      • Program crash
      PID:3924
  • C:\Windows\SysWOW64\frvtcacb\saptgenn.exe
    C:\Windows\SysWOW64\frvtcacb\saptgenn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4404
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4404 -s 512
      2⤵
      • Program crash
      PID:1644
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4580 -ip 4580
    1⤵
      PID:3316
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 4404 -ip 4404
      1⤵
        PID:3636

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        816049af1ccc345c6e45014a30723e1d

        SHA1

        31c1c18d8717f40824179219514f6d9306e4e9c2

        SHA256

        86bd0897ee02490ddd204355b4b86a9e6960dc409bbe7b0a5216c785b3783dea

        SHA512

        ab8412667232c774baee3417fb04bfb947fd7de94d4fc2779fc75a624ec4aba4c49cb7f24905b37e0d91c03dd94f3149627ae55f61202d9c0a5efafbf43276a7

      • memory/3084-11-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/3084-22-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/3084-21-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/3084-20-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/3084-14-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/4404-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4404-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4404-19-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4404-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4580-1-0x0000000000570000-0x0000000000670000-memory.dmp

        Filesize

        1024KB

      • memory/4580-16-0x0000000000540000-0x0000000000553000-memory.dmp

        Filesize

        76KB

      • memory/4580-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4580-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4580-2-0x0000000000540000-0x0000000000553000-memory.dmp

        Filesize

        76KB