Analysis

  • max time kernel
    142s
  • max time network
    127s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-03-2024 02:34

General

  • Target

    3170bcf7de646f8612910ab98f6d1861_JaffaCakes118.exe

  • Size

    4.3MB

  • MD5

    3170bcf7de646f8612910ab98f6d1861

  • SHA1

    71d81b3dd1747cf1c0e744fcb1809d6522eab902

  • SHA256

    bea9da3ee504f62fc074963332e96297c7fff5efb2999efc946bc518a3765c00

  • SHA512

    f232d67902f1b7fc3eb73efc7df575dcac83f5943e613e61982c78c9d4c47b18eadd6d87f2b4d040ec4125f4770a33f03b5743b3b18c34ab622b258f913b91c5

  • SSDEEP

    98304:OcaOt2a4P7cEg9j1rQT6YHyV4QWfjmRbM4rmqof6+oO+e:x4a4ndrE4QWfjm1M4rm1fqFe

Malware Config

Signatures

  • ServHelper

    ServHelper is a backdoor written in Delphi and is associated with the hacking group TA505.

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Modifies RDP port number used by Windows 1 TTPs
  • Possible privilege escalation attempt 8 IoCs
  • Sets DLL path for service in the registry 2 TTPs 1 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 2 IoCs
  • Drops file in Windows directory 8 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 11 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3170bcf7de646f8612910ab98f6d1861_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\3170bcf7de646f8612910ab98f6d1861_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:5064
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3752
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\dmhhxp5a\dmhhxp5a.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:776
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe
          C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES412F.tmp" "c:\Users\Admin\AppData\Local\Temp\dmhhxp5a\CSCDF28400DD5484A11B74C528EA7680A0.TMP"
          4⤵
            PID:4228
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2364
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4988
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1076
        • C:\Windows\SysWOW64\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:3624
        • C:\Windows\SysWOW64\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:2044
        • C:\Windows\SysWOW64\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          • Suspicious use of AdjustPrivilegeToken
          PID:3112
        • C:\Windows\SysWOW64\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:3684
        • C:\Windows\SysWOW64\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:332
        • C:\Windows\SysWOW64\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1432
        • C:\Windows\SysWOW64\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:2880
        • C:\Windows\SysWOW64\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:2340
        • C:\Windows\SysWOW64\reg.exe
          "C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f
          3⤵
            PID:4776
          • C:\Windows\SysWOW64\reg.exe
            "C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f
            3⤵
            • Sets DLL path for service in the registry
            • Modifies registry key
            PID:1948
          • C:\Windows\SysWOW64\reg.exe
            "C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f
            3⤵
              PID:540
            • C:\Windows\SysWOW64\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:3636
              • C:\Windows\SysWOW64\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:2668
              • C:\Windows\SysWOW64\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3848
                • C:\Windows\SysWOW64\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1904
                  • C:\Windows\SysWOW64\net.exe
                    net start rdpdr
                    5⤵
                      PID:404
                      • C:\Windows\SysWOW64\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:4816
                  • C:\Windows\SysWOW64\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:848
                      • C:\Windows\SysWOW64\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:3728
                          • C:\Windows\SysWOW64\net.exe
                            net start TermService
                            5⤵
                              PID:3560
                              • C:\Windows\SysWOW64\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:3928
                          • C:\Windows\SysWOW64\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:4292
                            • C:\Windows\SysWOW64\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1696

                          Network

                          MITRE ATT&CK Enterprise v15

                          Replay Monitor

                          Loading Replay Monitor...

                          Downloads

                          • C:\Users\Admin\AppData\Local\Temp\RES412F.tmp

                            Filesize

                            1KB

                            MD5

                            cc389dfcb3452ca013da39252f2450eb

                            SHA1

                            3ee4da0afcb0b4e6fe9343c40fa4fb67fb53b176

                            SHA256

                            a38536552f2a0774e3429b3b0f5d901910c3a7075c6c752c90afc2d72e2fcc08

                            SHA512

                            054356fdc744ad358ef1493b589ef8056af0a7427389451553f22b39ec1ec2fad53ae33811e8f369c2b97448c625997336a4fcd078dfad56ba9e9dae8d1ab7ea

                          • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vmv1d23l.1sk.ps1

                            Filesize

                            60B

                            MD5

                            d17fe0a3f47be24a6453e9ef58c94641

                            SHA1

                            6ab83620379fc69f80c0242105ddffd7d98d5d9d

                            SHA256

                            96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

                            SHA512

                            5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

                          • C:\Users\Admin\AppData\Local\Temp\dmhhxp5a\dmhhxp5a.dll

                            Filesize

                            3KB

                            MD5

                            85d74c10b31524cc88898f5502a1c8cc

                            SHA1

                            460a17436b817a76bce1dad84980b82feceb9b5d

                            SHA256

                            7094b8cb5decaf6efbb5dc6871c40f557652c2c43583111b89537bd4fadaa41a

                            SHA512

                            a4074c0107f750bc616f2b5cc53daed17d29d3cebc48e64191c42451b5094ca52579ad2dd31acba0d619124c95a309a030785812976ab7284c84d46982768184

                          • C:\Users\Admin\AppData\Local\Temp\get-dnsprovider.PS1

                            Filesize

                            2.5MB

                            MD5

                            794bf0ae26a7efb0c516cf4a7692c501

                            SHA1

                            c8f81d0ddd4d360dcbe0814a04a86748f99c6ff2

                            SHA256

                            97753653d52aaa961e4d1364b5b43551c76da9bb19e12f741bd67c986259e825

                            SHA512

                            20c97972a1256375157f82a859ce4936613fe109d54c63bbec25734edc3a567ca976b342a21ef5f25571b3c1959afe618ad9f9f17a817cfd731d1504541b1a75

                          • C:\Users\Admin\AppData\Local\Temp\ready.ps1

                            Filesize

                            1KB

                            MD5

                            28d9755addec05c0b24cca50dfe3a92b

                            SHA1

                            7d3156f11c7a7fb60d29809caf93101de2681aa3

                            SHA256

                            abb6ceb444b3dc29fcdcb8bda4935a6a792b85bb7049cb2710d97415d9411af9

                            SHA512

                            891a72eeef42be3f04067225a9665020704c99f9c17473ca57e5b946dfa35cb469fa91a794ea30115ce3ed0e940edb3ccff69a16a888379f5ac46a12afaa4c42

                          • C:\Windows\SysWOW64\rfxvmt.dll

                            Filesize

                            40KB

                            MD5

                            dc39d23e4c0e681fad7a3e1342a2843c

                            SHA1

                            58fd7d50c2dca464a128f5e0435d6f0515e62073

                            SHA256

                            6d9a41a03a3bd5362e3af24f97ba99d2f9927d1375e4f608942a712866d133b9

                            SHA512

                            5cb75e04ce9f5c3714e30c4fd5b8dbcd3952c3d756556dd76206111fe5b4e980c6c50209ab0914ab3afe15bd9c33ff0d49463ca11547214122859918de2a58f7

                          • \??\c:\Users\Admin\AppData\Local\Temp\dmhhxp5a\CSCDF28400DD5484A11B74C528EA7680A0.TMP

                            Filesize

                            652B

                            MD5

                            188b9913939231812a2fc07cd7571bfa

                            SHA1

                            0cbd3092f542d709d055375a37c0a2dc23dd421e

                            SHA256

                            d7b5f2105d5340805d8b1bd10762286351348622778139263df5c8900086edf1

                            SHA512

                            aeb59d1bb30b76ec233f3faed749765db897f63c30a8133dcfbb91ac354d9c0291520eec4c69e857f70f17a48c2a67299371f71df557c0164156509fcd514c83

                          • \??\c:\Users\Admin\AppData\Local\Temp\dmhhxp5a\dmhhxp5a.0.cs

                            Filesize

                            424B

                            MD5

                            9f8ab7eb0ab21443a2fe06dab341510e

                            SHA1

                            2b88b3116a79e48bab7114e18c9b9674e8a52165

                            SHA256

                            e1a4fbe36125e02e100e729ce92ab74869423da87cb46da6e3c50d7c4410b2d9

                            SHA512

                            53f5dc4c853af5a412fde895635ef4b2de98a165e3546130fdd17a37a5c3b177e21eccf70a5ddf936ac491da2d7e8fcdbc1e564a95ec01b097841aa78869989b

                          • \??\c:\Users\Admin\AppData\Local\Temp\dmhhxp5a\dmhhxp5a.cmdline

                            Filesize

                            369B

                            MD5

                            730189806b58f09583665ebc67e124a2

                            SHA1

                            39d0a1da7f0ed90e27f3978581ff7bf7706c8a9f

                            SHA256

                            0b63ebba6aaeb9e8e4462dc6f382b71648697bbfbca88da54fea3dff281e5e0e

                            SHA512

                            880213100dd1abdde570b6f57b7c7320ee8a1ca9e30fb9999394fa85f5caf8f0b207ece87d2d91dd3312e2f8fc2667dca508541ef8eb874498577363c3106dd5

                          • memory/1076-118-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/1076-121-0x0000000004C40000-0x0000000004C50000-memory.dmp

                            Filesize

                            64KB

                          • memory/1076-144-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/1076-143-0x0000000004C40000-0x0000000004C50000-memory.dmp

                            Filesize

                            64KB

                          • memory/1076-133-0x000000006FD40000-0x0000000070094000-memory.dmp

                            Filesize

                            3.3MB

                          • memory/1076-132-0x000000006FCE0000-0x000000006FD2C000-memory.dmp

                            Filesize

                            304KB

                          • memory/1076-131-0x000000007F3D0000-0x000000007F3E0000-memory.dmp

                            Filesize

                            64KB

                          • memory/2364-53-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/2364-91-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/2364-83-0x0000000006D90000-0x0000000006E33000-memory.dmp

                            Filesize

                            652KB

                          • memory/2364-82-0x0000000002EF0000-0x0000000002F00000-memory.dmp

                            Filesize

                            64KB

                          • memory/2364-81-0x0000000006D60000-0x0000000006D7E000-memory.dmp

                            Filesize

                            120KB

                          • memory/2364-71-0x000000006FD40000-0x0000000070094000-memory.dmp

                            Filesize

                            3.3MB

                          • memory/2364-90-0x0000000007130000-0x0000000007138000-memory.dmp

                            Filesize

                            32KB

                          • memory/2364-70-0x000000007F200000-0x000000007F210000-memory.dmp

                            Filesize

                            64KB

                          • memory/2364-68-0x000000006FCE0000-0x000000006FD2C000-memory.dmp

                            Filesize

                            304KB

                          • memory/2364-84-0x0000000006F50000-0x0000000006F5A000-memory.dmp

                            Filesize

                            40KB

                          • memory/2364-85-0x00000000071A0000-0x0000000007236000-memory.dmp

                            Filesize

                            600KB

                          • memory/2364-86-0x00000000070A0000-0x00000000070B1000-memory.dmp

                            Filesize

                            68KB

                          • memory/2364-66-0x0000000006D20000-0x0000000006D52000-memory.dmp

                            Filesize

                            200KB

                          • memory/2364-87-0x00000000070D0000-0x00000000070DE000-memory.dmp

                            Filesize

                            56KB

                          • memory/2364-88-0x0000000007100000-0x0000000007114000-memory.dmp

                            Filesize

                            80KB

                          • memory/2364-89-0x0000000007140000-0x000000000715A000-memory.dmp

                            Filesize

                            104KB

                          • memory/2364-54-0x0000000002EF0000-0x0000000002F00000-memory.dmp

                            Filesize

                            64KB

                          • memory/2364-55-0x0000000002EF0000-0x0000000002F00000-memory.dmp

                            Filesize

                            64KB

                          • memory/3752-30-0x00000000061C0000-0x0000000006514000-memory.dmp

                            Filesize

                            3.3MB

                          • memory/3752-119-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/3752-51-0x0000000007830000-0x000000000785C000-memory.dmp

                            Filesize

                            176KB

                          • memory/3752-48-0x00000000076D0000-0x00000000076D8000-memory.dmp

                            Filesize

                            32KB

                          • memory/3752-145-0x0000000007CE0000-0x0000000007D02000-memory.dmp

                            Filesize

                            136KB

                          • memory/3752-120-0x0000000005310000-0x0000000005320000-memory.dmp

                            Filesize

                            64KB

                          • memory/3752-34-0x0000000007D40000-0x00000000083BA000-memory.dmp

                            Filesize

                            6.5MB

                          • memory/3752-35-0x0000000006CC0000-0x0000000006CDA000-memory.dmp

                            Filesize

                            104KB

                          • memory/3752-32-0x0000000006840000-0x000000000688C000-memory.dmp

                            Filesize

                            304KB

                          • memory/3752-31-0x0000000006760000-0x000000000677E000-memory.dmp

                            Filesize

                            120KB

                          • memory/3752-15-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/3752-14-0x0000000003170000-0x00000000031A6000-memory.dmp

                            Filesize

                            216KB

                          • memory/3752-20-0x0000000006030000-0x0000000006096000-memory.dmp

                            Filesize

                            408KB

                          • memory/3752-19-0x00000000058B0000-0x00000000058D2000-memory.dmp

                            Filesize

                            136KB

                          • memory/3752-16-0x0000000005950000-0x0000000005F78000-memory.dmp

                            Filesize

                            6.2MB

                          • memory/3752-17-0x0000000005310000-0x0000000005320000-memory.dmp

                            Filesize

                            64KB

                          • memory/3752-18-0x0000000005310000-0x0000000005320000-memory.dmp

                            Filesize

                            64KB

                          • memory/4988-105-0x000000006FD40000-0x0000000070094000-memory.dmp

                            Filesize

                            3.3MB

                          • memory/4988-117-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/4988-116-0x0000000004B30000-0x0000000004B40000-memory.dmp

                            Filesize

                            64KB

                          • memory/4988-115-0x0000000004B30000-0x0000000004B40000-memory.dmp

                            Filesize

                            64KB

                          • memory/4988-92-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/4988-103-0x000000007F8C0000-0x000000007F8D0000-memory.dmp

                            Filesize

                            64KB

                          • memory/4988-104-0x000000006FCE0000-0x000000006FD2C000-memory.dmp

                            Filesize

                            304KB

                          • memory/5064-10-0x0000000007980000-0x000000000798A000-memory.dmp

                            Filesize

                            40KB

                          • memory/5064-93-0x00000000069A0000-0x00000000069B0000-memory.dmp

                            Filesize

                            64KB

                          • memory/5064-52-0x00000000039D0000-0x0000000003DE3000-memory.dmp

                            Filesize

                            4.1MB

                          • memory/5064-11-0x00000000084E0000-0x0000000008546000-memory.dmp

                            Filesize

                            408KB

                          • memory/5064-6-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/5064-1-0x00000000039D0000-0x0000000003DE3000-memory.dmp

                            Filesize

                            4.1MB

                          • memory/5064-69-0x0000000074750000-0x0000000074F00000-memory.dmp

                            Filesize

                            7.7MB

                          • memory/5064-9-0x0000000007770000-0x0000000007802000-memory.dmp

                            Filesize

                            584KB

                          • memory/5064-7-0x00000000071C0000-0x0000000007764000-memory.dmp

                            Filesize

                            5.6MB

                          • memory/5064-8-0x00000000069A0000-0x00000000069B0000-memory.dmp

                            Filesize

                            64KB

                          • memory/5064-4-0x00000000069A0000-0x00000000069B0000-memory.dmp

                            Filesize

                            64KB

                          • memory/5064-5-0x0000000006DC0000-0x00000000071C4000-memory.dmp

                            Filesize

                            4.0MB

                          • memory/5064-3-0x0000000000400000-0x0000000001AC1000-memory.dmp

                            Filesize

                            22.8MB

                          • memory/5064-67-0x0000000003DF0000-0x00000000041F2000-memory.dmp

                            Filesize

                            4.0MB

                          • memory/5064-2-0x0000000003DF0000-0x00000000041F2000-memory.dmp

                            Filesize

                            4.0MB