Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 16:57

General

  • Target

    JaffaCakes118_809511a12696ee0730fad6e5472210cd09ee5b3e42199771e0a785c7d703ccd7.exe

  • Size

    336KB

  • MD5

    4d7c132fc1fe7e80763fefae0897fe6b

  • SHA1

    213d4abc977acd8c1abce1d68058eb80f2c636bc

  • SHA256

    809511a12696ee0730fad6e5472210cd09ee5b3e42199771e0a785c7d703ccd7

  • SHA512

    5769fd49fe477b5f7194c5bdfd7c1bbd1a755f2537702583fcc8e3517dc49d16832ab5be78098b84be5edf9347f2ebc0afd04ad9cc3bead8c0ed4b99c12f4872

  • SSDEEP

    6144:V6lQKGal6xVvGEWZwcsqpyN+1x+OzzXV:kljhl6n+EWZwcfgWx+Ozz

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.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\JaffaCakes118_809511a12696ee0730fad6e5472210cd09ee5b3e42199771e0a785c7d703ccd7.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_809511a12696ee0730fad6e5472210cd09ee5b3e42199771e0a785c7d703ccd7.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3524
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hukzkqja\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4648
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nomwzsxi.exe" C:\Windows\SysWOW64\hukzkqja\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hukzkqja binPath= "C:\Windows\SysWOW64\hukzkqja\nomwzsxi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_809511a12696ee0730fad6e5472210cd09ee5b3e42199771e0a785c7d703ccd7.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hukzkqja "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hukzkqja
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • 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:664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3524 -s 572
      2⤵
      • Program crash
      PID:3728
  • C:\Windows\SysWOW64\hukzkqja\nomwzsxi.exe
    C:\Windows\SysWOW64\hukzkqja\nomwzsxi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_809511a12696ee0730fad6e5472210cd09ee5b3e42199771e0a785c7d703ccd7.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4776
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3236
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4776 -s 512
      2⤵
      • Program crash
      PID:324
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3524 -ip 3524
    1⤵
      PID:2552
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4776 -ip 4776
      1⤵
        PID:5060

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        e9a419bb12417e0c5a74c61c35d59e6e

        SHA1

        679bc012dfd7e0aa8796d609b789b6a6154a33a8

        SHA256

        da60acd324749c4fd255994fba813923a510455bf88a97f7d56aee77ec260128

        SHA512

        390082c0e1d6c1006a043805689172cc595b4f2119b9dc25e68b2f705f09a9b45d5a5a534994e77519eb094f1eeaa9a2a2ed2f070a2dc8ae858ffac3f4f50bf4

      • memory/3236-13-0x0000000000380000-0x0000000000395000-memory.dmp

        Filesize

        84KB

      • memory/3236-11-0x0000000000380000-0x0000000000395000-memory.dmp

        Filesize

        84KB

      • memory/3236-14-0x0000000000380000-0x0000000000395000-memory.dmp

        Filesize

        84KB

      • memory/3524-1-0x0000000002CF0000-0x0000000002DF0000-memory.dmp

        Filesize

        1024KB

      • memory/3524-2-0x0000000002CB0000-0x0000000002CC3000-memory.dmp

        Filesize

        76KB

      • memory/3524-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3524-8-0x0000000002CB0000-0x0000000002CC3000-memory.dmp

        Filesize

        76KB

      • memory/3524-7-0x0000000000400000-0x0000000002B4C000-memory.dmp

        Filesize

        39.3MB

      • memory/4776-15-0x0000000000400000-0x0000000002B4C000-memory.dmp

        Filesize

        39.3MB