Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-12-2024 18:49

General

  • Target

    2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe

  • Size

    11.3MB

  • MD5

    041bff40cf772c28086f2136218489f2

  • SHA1

    a933c80b433a90b7985599f6d7b4a498cf2c75d7

  • SHA256

    b0bdf6212ea9483d04f5ad47a0d4af05f379eeddbee38b13627ad921af336bf3

  • SHA512

    77c8cf466a70b5ff5545d2fe997b48c84f090f3e63c48ed9df087c5bbf76d00f2132a3173fd792caee7c12621adafd08fddb72631d11025edcc2204d15cf39c5

  • SSDEEP

    3072:RLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:UOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qgwcdpkd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3488
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnnepypr.exe" C:\Windows\SysWOW64\qgwcdpkd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qgwcdpkd binPath= "C:\Windows\SysWOW64\qgwcdpkd\tnnepypr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qgwcdpkd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qgwcdpkd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4056
    • 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:4380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2260 -s 668
      2⤵
      • Program crash
      PID:1800
  • C:\Windows\SysWOW64\qgwcdpkd\tnnepypr.exe
    C:\Windows\SysWOW64\qgwcdpkd\tnnepypr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4324
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3044
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4324 -s 508
      2⤵
      • Program crash
      PID:2392
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 2260 -ip 2260
    1⤵
      PID:3580
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4324 -ip 4324
      1⤵
        PID:2692

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        15.0MB

        MD5

        31662ab62107e8f6583a83384594711b

        SHA1

        0f18bde661495e638aed3d198e53536915f4e91e

        SHA256

        3e569fcd1f2429be2345f3696d401fe14e663de33ec9cc608a061c2dbed640fe

        SHA512

        e1e0fcf8a8359e79148d8871b9881a1cf51fa607863ebc112774d425e9e69a75a883d4a10c87bec4a94252ca0eaeac36fb4284611b4e03c18fbc49888001d60e

      • memory/2260-8-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2260-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/2260-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2260-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2260-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

      • memory/3044-16-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/3044-14-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/3044-17-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/4324-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4324-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4324-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4324-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB