Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/01/2025, 17:40

General

  • Target

    2025-01-28_c043cfd652b04f6ca4c1bea4f0dc25e9_mafia.exe

  • Size

    14.5MB

  • MD5

    c043cfd652b04f6ca4c1bea4f0dc25e9

  • SHA1

    5f87fa2a23521a318ca1c4f0a9d42f952f0adbde

  • SHA256

    4e8644f27d0d75b537e63dc51b670d765afaf46f486d3836158a9a0ca729dc1a

  • SHA512

    e36d378cb7637fb115af79c43519595fc25e4201fce8bfd90a7f143bf7eff0ff305bcb28b895f757ded459b48f42593c7ab83406d2a242d39edeb031425380f6

  • SSDEEP

    3072:jLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:qOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-28_c043cfd652b04f6ca4c1bea4f0dc25e9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_c043cfd652b04f6ca4c1bea4f0dc25e9_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lqvonbib\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fzzqbkbd.exe" C:\Windows\SysWOW64\lqvonbib\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lqvonbib binPath= "C:\Windows\SysWOW64\lqvonbib\fzzqbkbd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c043cfd652b04f6ca4c1bea4f0dc25e9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lqvonbib "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lqvonbib
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1884
    • 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:2920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2696 -s 792
      2⤵
      • Program crash
      PID:4032
  • C:\Windows\SysWOW64\lqvonbib\fzzqbkbd.exe
    C:\Windows\SysWOW64\lqvonbib\fzzqbkbd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c043cfd652b04f6ca4c1bea4f0dc25e9_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3204
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1172
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3204 -s 552
      2⤵
      • Program crash
      PID:2572
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2696 -ip 2696
    1⤵
      PID:4672
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3204 -ip 3204
      1⤵
        PID:4060

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        ede0c377951c2147c1754b3d164e1589

        SHA1

        2cdaa5d37b952b90a43e890dd5159342e1fac819

        SHA256

        a46ee6539a28820654579eea5a8260fe64fb5b388317577982da2f079db492f3

        SHA512

        46d1ecd34887cbd731e9e7db7b0aa31ecaad262466b36d2e00ab95203627b65e5969e48cf10921b4d00fbf9ffa04abbe1ad78e872d77bc177819fc9b7d48acbc

      • memory/1172-17-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/1172-14-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/1172-16-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/2696-1-0x0000000000460000-0x0000000000560000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2696-8-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/2696-2-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

      • memory/3204-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB