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
    24-12-2024 21:09

General

  • Target

    JaffaCakes118_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe

  • Size

    169KB

  • MD5

    54bd5f89f412ae17884504b9a86c5e63

  • SHA1

    8c596d102e6836e640a083ed4f9e9d127f919749

  • SHA256

    a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232

  • SHA512

    66342f222dc8739599c51d0f46e0c71dc2649734717c33dc940a56fb080508c30f64f289f414c2c37a0c807fb4e5cb2761ca6e41b2b372fbd139b90a089535ce

  • SSDEEP

    3072:g5FWLk1FgKtHVuVtDcfLHQT0WXFl5TSQtXV7YZScM+kYBUS92:EMg1FgKRVu3DcTHQTvDTtxYgzMy

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_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ahlokkwu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ohvhztvi.exe" C:\Windows\SysWOW64\ahlokkwu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:652
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ahlokkwu binPath= "C:\Windows\SysWOW64\ahlokkwu\ohvhztvi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ahlokkwu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ahlokkwu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4700
    • 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:4752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2836 -s 1040
      2⤵
      • Program crash
      PID:1904
  • C:\Windows\SysWOW64\ahlokkwu\ohvhztvi.exe
    C:\Windows\SysWOW64\ahlokkwu\ohvhztvi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8fbca1fa917a16435b65abf5e83d85dcd4514f401ca4b635691f95d44834232.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2856
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2856 -s 528
      2⤵
      • Program crash
      PID:1512
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2836 -ip 2836
    1⤵
      PID:2412
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 2856 -ip 2856
      1⤵
        PID:3132

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        f9365c5a0205fa6f6639da15cf8cdd0b

        SHA1

        aadf306c737e5f1aafbe39a916a9bf1cb58e9765

        SHA256

        8a6436519b536978294f8a9a9ea30be396d801eb0615045e5fe48fd309625b0a

        SHA512

        d35004723a771b283e6de8d4d8f75f19c329c1badd2cd0bb10fcd325f088edce3cddf121b5979a2b2a3d5db795ae009ab773f02e81d9fc56371535b0eb7540f4

      • memory/2836-15-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/2836-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2836-0-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/2836-14-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/2836-16-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/2836-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        200KB

      • memory/2856-13-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/2856-7-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4212-11-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/4212-8-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/4212-18-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/4212-19-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/4212-20-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB