Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-01-2025 17:33

General

  • Target

    2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe

  • Size

    11.4MB

  • MD5

    6c5e452df29b5a756d22f22a8250e379

  • SHA1

    2220bf75ba0c6eb8a2ae4740c8b63bdd04a2d8b8

  • SHA256

    c0b7e00532c41afb64dd5254952b61511a945eb5d0ed492352919bc41397f4f5

  • SHA512

    c563d976efa75b53187b2649bc3166f756b4d383cc5364c25e7b86a5d643879f7089c0eddb46bed2085f668c335f1c076646455337cb357aea534ffdf292977d

  • SSDEEP

    3072:ZLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:cOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rdsybjvh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\awoolazn.exe" C:\Windows\SysWOW64\rdsybjvh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rdsybjvh binPath= "C:\Windows\SysWOW64\rdsybjvh\awoolazn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rdsybjvh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rdsybjvh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3640
    • 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:4492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4260 -s 1308
      2⤵
      • Program crash
      PID:3148
  • C:\Windows\SysWOW64\rdsybjvh\awoolazn.exe
    C:\Windows\SysWOW64\rdsybjvh\awoolazn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1968
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1968 -s 508
      2⤵
      • Program crash
      PID:1040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4260 -ip 4260
    1⤵
      PID:3752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 516 -p 1968 -ip 1968
      1⤵
        PID:4256

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        760143e4bc5237619e69f6dc266190b2

        SHA1

        9373c398ead577e324e7062e6d85544d77fb451e

        SHA256

        924c9740bddc4774fb512bee6e62ddeb3279b2f271723d2ce3cf7a6730212a90

        SHA512

        3260e0818bd2f5ca0e2950e1d99f74c415c6c340581526584bd370c5e75e9af19786471fd6b52238f7bce7ce0a4476414d9fdffe86773ac7b1806687d841ef4f

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3212-14-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

      • memory/3212-16-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

      • memory/3212-17-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4260-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/4260-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4260-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB