Analysis

  • max time kernel
    146s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240709-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-07-2024 06:31

General

  • Target

    4d2c1c24c605c4665deb8fcff2e48d66_JaffaCakes118.exe

  • Size

    10.0MB

  • MD5

    4d2c1c24c605c4665deb8fcff2e48d66

  • SHA1

    6ce6fa8bd527e8aa529b7a055795416b7e92c73e

  • SHA256

    48a908118164a83256282f2427f094e005bc9c94234548822050645ae072aa58

  • SHA512

    ea56cf46f89714c667d9841a8bd4073c0538c0c2d428e66d7af502b8cbb61a8347af407faba445602d5517a79a85079df017bc416c52656b9bca8b089fec4b99

  • SSDEEP

    24576:SgRjDA0LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL:1xD

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.

  • 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
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\4d2c1c24c605c4665deb8fcff2e48d66_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\4d2c1c24c605c4665deb8fcff2e48d66_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2340
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ilbcrfhv\
      2⤵
        PID:4380
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aqlxrdhz.exe" C:\Windows\SysWOW64\ilbcrfhv\
        2⤵
          PID:1488
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ilbcrfhv binPath= "C:\Windows\SysWOW64\ilbcrfhv\aqlxrdhz.exe /d\"C:\Users\Admin\AppData\Local\Temp\4d2c1c24c605c4665deb8fcff2e48d66_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:420
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ilbcrfhv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ilbcrfhv
          2⤵
          • Launches sc.exe
          PID:4560
        • 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
          PID:2756
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2340 -s 672
          2⤵
          • Program crash
          PID:2660
      • C:\Windows\SysWOW64\ilbcrfhv\aqlxrdhz.exe
        C:\Windows\SysWOW64\ilbcrfhv\aqlxrdhz.exe /d"C:\Users\Admin\AppData\Local\Temp\4d2c1c24c605c4665deb8fcff2e48d66_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:544
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2464
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 544 -s 512
          2⤵
          • Program crash
          PID:4496
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2340 -ip 2340
        1⤵
          PID:1576
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 544 -ip 544
          1⤵
            PID:2140

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\aqlxrdhz.exe
            Filesize

            12.7MB

            MD5

            cadec947194334aa6110dc10d4730093

            SHA1

            aff4cb36001bc7c6a23e309a5fbe0dc0b4fa7e10

            SHA256

            aa8677e84cf033665b416b6c7118887d09deec889a601a6d9aab3bad1d3f649f

            SHA512

            2ba7aad442e95cbb63f33022678331d4893d40dfcdedcd8833c73073c73b2850953753571e33d94b1444981e2f332e318e83a1b96f96976b4d9dfde610a42188

          • memory/544-15-0x0000000000400000-0x0000000002149000-memory.dmp
            Filesize

            29.3MB

          • memory/2340-2-0x00000000022F0000-0x0000000002303000-memory.dmp
            Filesize

            76KB

          • memory/2340-1-0x0000000002360000-0x0000000002460000-memory.dmp
            Filesize

            1024KB

          • memory/2340-4-0x0000000000400000-0x0000000000415000-memory.dmp
            Filesize

            84KB

          • memory/2340-10-0x0000000000400000-0x0000000000415000-memory.dmp
            Filesize

            84KB

          • memory/2340-9-0x00000000022F0000-0x0000000002303000-memory.dmp
            Filesize

            76KB

          • memory/2340-8-0x0000000000400000-0x0000000002149000-memory.dmp
            Filesize

            29.3MB

          • memory/2464-11-0x0000000000FB0000-0x0000000000FC5000-memory.dmp
            Filesize

            84KB

          • memory/2464-13-0x0000000000FB0000-0x0000000000FC5000-memory.dmp
            Filesize

            84KB

          • memory/2464-14-0x0000000000FB0000-0x0000000000FC5000-memory.dmp
            Filesize

            84KB