Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 20:27

General

  • Target

    2024-12-30_c8a017be648771367c0a450636071da5_mafia.exe

  • Size

    12.7MB

  • MD5

    c8a017be648771367c0a450636071da5

  • SHA1

    4732517baf98a7007f3e47150312b5944d1f623b

  • SHA256

    ec204d38cfcae36249dae54e9cf9d09294f443a396d40ad32c85ffa2e7bcbeee

  • SHA512

    997b4562b60789d77948dc95f127d50d6ec8a1eb7d6c4d34cf9887e6f3a8327f9f319171f3b891c7dd4b4fb731e8bf3555ec4d9cd655ee1ef4bfe2f510385d16

  • SSDEEP

    3072:NLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+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\2024-12-30_c8a017be648771367c0a450636071da5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-30_c8a017be648771367c0a450636071da5_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3080
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ygdzeubu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mohszhvl.exe" C:\Windows\SysWOW64\ygdzeubu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:400
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ygdzeubu binPath= "C:\Windows\SysWOW64\ygdzeubu\mohszhvl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-30_c8a017be648771367c0a450636071da5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3652
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ygdzeubu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ygdzeubu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4504
    • 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:4480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3080 -s 1028
      2⤵
      • Program crash
      PID:4676
  • C:\Windows\SysWOW64\ygdzeubu\mohszhvl.exe
    C:\Windows\SysWOW64\ygdzeubu\mohszhvl.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-30_c8a017be648771367c0a450636071da5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3748
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1892
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3748 -s 512
      2⤵
      • Program crash
      PID:4524
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3080 -ip 3080
    1⤵
      PID:3488
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3748 -ip 3748
      1⤵
        PID:3960

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        545d594743ce8548c7e105b9abc34f35

        SHA1

        67751cd327c2bce38e89b01ba52ad0623efbd2ec

        SHA256

        ef1742b792505f93104f41941683488f6b7acc840779f039fc967412e5912197

        SHA512

        5f99b2b72fe08c773004e98d181f297b0d166afc11e0a7f3a08bafae6ddecacdcc8f24506d60b351610546f22381aec45f0e95486feb87ad47a92a9c7629e7b6

      • memory/1892-14-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

      • memory/1892-17-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

      • memory/1892-16-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

      • memory/3080-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3080-1-0x00000000007F0000-0x00000000008F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3080-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB