Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    16-04-2024 16:45

General

  • Target

    f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe

  • Size

    14.2MB

  • MD5

    f3e4b3f22f1f557ad9aed99b8b9be8aa

  • SHA1

    9c41524315acdf2d2e6c38959ae3f2b4337aa899

  • SHA256

    a7b7595a90d115497ba26e7ac70d71a499a0c0116a1f13f671eccbd8af89de8e

  • SHA512

    b8e72b697c42403f2bb94bf6fe003b6267de27f59f897749e63009b8b2c5275c1952237deff4039f09a8ffc494c45f15d77f3dc7b58cf2bf1be81fcd5e177037

  • SSDEEP

    12288:zl5qOcvT9o+egMU+HoWfprc0sssssssssssssssssssssssssssssssssssssssb:1cvT9ofeqrc

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2208
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ifcyqmkh\
      2⤵
        PID:3064
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cgjfraxt.exe" C:\Windows\SysWOW64\ifcyqmkh\
        2⤵
          PID:2664
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ifcyqmkh binPath= "C:\Windows\SysWOW64\ifcyqmkh\cgjfraxt.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ifcyqmkh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2716
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ifcyqmkh
          2⤵
          • Launches sc.exe
          PID:2724
        • 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
          PID:2428
      • C:\Windows\SysWOW64\ifcyqmkh\cgjfraxt.exe
        C:\Windows\SysWOW64\ifcyqmkh\cgjfraxt.exe /d"C:\Users\Admin\AppData\Local\Temp\f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2572
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2480

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        bf5bfa0337e5792c560245ce670707c7

        SHA1

        9a67aedd36ffffab753cf5c444cc2ad4c43de567

        SHA256

        b9460aa93cec1d5690e15bb7e47da8901350fc9877ea310a7ce20db0d7b829a2

        SHA512

        66b144e745574eefb3ddc320227f28d8e0f38fabda947d2ae0df21c253773d79402ae4acfa3e668c7e4876720893ac1c1144a9f9aa09eb4a9f762db008603e84

      • memory/2208-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2208-1-0x00000000002F0000-0x00000000003F0000-memory.dmp

        Filesize

        1024KB

      • memory/2208-4-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/2208-6-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/2480-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2480-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2480-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2572-10-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/2572-9-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

      • memory/2572-16-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB