Analysis

  • max time kernel
    149s
  • max time network
    147s
  • 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 06:17

General

  • Target

    JaffaCakes118_7eb1eb8b4e1456be837edf6d08e94bd7eb01c55b4dccbd36af5437e2ff0e18d5.exe

  • Size

    157KB

  • MD5

    f4ee0f9e8df042e8b15e4a76f32f192c

  • SHA1

    febf45838fa43fbd92a8f70f4aa6a2474b109299

  • SHA256

    7eb1eb8b4e1456be837edf6d08e94bd7eb01c55b4dccbd36af5437e2ff0e18d5

  • SHA512

    8484b9fbf80954c88a84d171b164d5c5b6bf5aa73d89aaaf70d145266f9894d890dd133ffc931161d465dd61df239b7fd417b56e582cae79786fc67630eb31ea

  • SSDEEP

    1536:1IMFilYA4z/FeSs9UC34tWAvBnjraPnsWOw9ZCqLvg8fL30bw5A9jOYM6otnkEM:qSxItjItvwjOqCqLv138jWodRDvE

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_7eb1eb8b4e1456be837edf6d08e94bd7eb01c55b4dccbd36af5437e2ff0e18d5.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7eb1eb8b4e1456be837edf6d08e94bd7eb01c55b4dccbd36af5437e2ff0e18d5.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\akvaxlon\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3368
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\havhlal.exe" C:\Windows\SysWOW64\akvaxlon\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create akvaxlon binPath= "C:\Windows\SysWOW64\akvaxlon\havhlal.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7eb1eb8b4e1456be837edf6d08e94bd7eb01c55b4dccbd36af5437e2ff0e18d5.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description akvaxlon "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start akvaxlon
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1584
    • 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:1040
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5056 -s 676
      2⤵
      • Program crash
      PID:3964
  • C:\Windows\SysWOW64\akvaxlon\havhlal.exe
    C:\Windows\SysWOW64\akvaxlon\havhlal.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7eb1eb8b4e1456be837edf6d08e94bd7eb01c55b4dccbd36af5437e2ff0e18d5.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4744
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4744 -s 508
      2⤵
      • Program crash
      PID:4272
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 5056 -ip 5056
    1⤵
      PID:3584
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4744 -ip 4744
      1⤵
        PID:940

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        0ee704cfdcb99d0848dcae086b79689b

        SHA1

        a1ab0ec1065e23ee1fc97f21da3a41c8d993870f

        SHA256

        4d8acfacd35f282e440b8483ab41e1973d06c06b71e2f22b5e5d1479a775a761

        SHA512

        b6b9bcef3af7ac80a981d36180190f16024062ec1f00e81ba0609652a2e4da3230177f52f3606c949ce397e70debc4fd86d42b16929efdfa40a6607f74a55f1d

      • memory/3760-13-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/3760-16-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/3760-15-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/4744-10-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4744-11-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4744-12-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4744-17-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/5056-0-0x00000000007E0000-0x00000000007ED000-memory.dmp

        Filesize

        52KB

      • memory/5056-8-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/5056-7-0x00000000007E0000-0x00000000007ED000-memory.dmp

        Filesize

        52KB

      • memory/5056-6-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

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

        Filesize

        84KB

      • memory/5056-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5056-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB