fechar
fechar
Sua Rede do Amanhã
Sua Rede do Amanhã
Planeje seu caminho rumo a uma rede mais rápida, segura e resiliente projetada para os aplicativos e usuários aos quais você oferece suporte.
          Experimente a Netskope
          Get Hands-on With the Netskope Platform
          Here's your chance to experience the Netskope One single-cloud platform first-hand. Sign up for self-paced, hands-on labs, join us for monthly live product demos, take a free test drive of Netskope Private Access, or join us for a live, instructor-led workshops.
            Líder em SSE. Agora é líder em SASE de fornecedor único.
            Líder em SSE. Agora é líder em SASE de fornecedor único.
            A Netskope estreia como líder no Quadrante Mágico™ do Gartner® para Single-Vendor SASE
              Protegendo a IA generativa para leigos
              Protegendo a IA generativa para leigos
              Learn how your organization can balance the innovative potential of generative AI with robust data security practices.
                Modern data loss prevention (DLP) for Dummies eBook
                Prevenção Contra Perda de Dados (DLP) Moderna para Leigos
                Get tips and tricks for transitioning to a cloud-delivered DLP.
                  Livro SD-WAN moderno para SASE Dummies
                  Modern SD-WAN for SASE Dummies
                  Pare de brincar com sua arquitetura de rede
                    Compreendendo onde estão os riscos
                    Advanced Analytics transforms the way security operations teams apply data-driven insights to implement better policies. With Advanced Analytics, you can identify trends, zero in on areas of concern and use the data to take action.
                        Os 6 casos de uso mais atraentes para substituição completa de VPN herdada
                        Os 6 casos de uso mais atraentes para substituição completa de VPN herdada
                        Netskope One Private Access is the only solution that allows you to retire your VPN for good.
                          A Colgate-Palmolive protege sua “propriedade intelectual "” com proteção de dados inteligente e adaptável
                          A Colgate-Palmolive protege sua “propriedade intelectual "” com proteção de dados inteligente e adaptável
                            Netskope GovCloud
                            Netskope obtém alta autorização do FedRAMP
                            Escolha o Netskope GovCloud para acelerar a transformação de sua agência.
                              Let's Do Great Things Together
                              A estratégia de comercialização da Netskope, focada em Parcerias, permite que nossos Parceiros maximizem seu crescimento e lucratividade enquanto transformam a segurança corporativa.
                                Netskope solutions
                                Netskope Cloud Exchange
                                Netskope Cloud Exchange (CE) provides customers with powerful integration tools to leverage investments across their security posture.
                                  Suporte Técnico Netskope
                                  Suporte Técnico Netskope
                                  Nossos engenheiros de suporte qualificados estão localizados em todo o mundo e têm diversas experiências em segurança de nuvem, rede, virtualização, fornecimento de conteúdo e desenvolvimento de software, garantindo assistência técnica de qualidade e em tempo hábil.
                                    Vídeo da Netskope
                                    Treinamento Netskope
                                    Os treinamentos da Netskope vão ajudar você a ser um especialista em segurança na nuvem. Conte conosco para ajudá-lo a proteger a sua jornada de transformação digital e aproveitar ao máximo as suas aplicações na nuvem, na web e privadas.

                                      Cryptojackers on the hunt for your IaaS resources

                                      Jun 14 2018
                                      Tags
                                      CASB
                                      Cloud Access Security Broker
                                      Cloud Malware
                                      Cloud Security
                                      cryptojacking
                                      IaaS
                                      Netskope Threat Protection
                                      Netskope Threat Research Labs

                                      Cryptojacking has become the favorite tool for cybercriminals to mine cryptocurrencies on the systems and/or computing resources hosted over IaaS infrastructures like Amazon AWS, Microsoft Azure, and Google Cloud. Netskope threat research labs has discovered attack patterns where Internet-facing infrastructures hosted on the cloud, have been targeted by cybercriminals to look for security holes that can be exploited to gain access to the services. Once they gain control over the computer resources, they can then be utilized for illegal mining of cryptocurrencies. In our previous few blogs about cryptocurrency mining, we detailed about how cryptojackers are targeting enterprises and consumers to infect their machines and capitalize its resources for mining. In this post, we want to shed some light on how cloud-based infrastructures are also on the radar of cybercriminals for illegal mining. The advantage that these cloud infrastructures provide is the high availability and powerful computing resources that can enable miners to quickly solve the compute-intensive mining problem.

                                      Attack  methodology

                                      Netskope Threat Research Labs has noticed attackers attempting to scan for cloud provider IP ranges to map out reachable services like ssh logins to servers in public cloud, kubernetes clusters and other orchestron services hosting cloud applications. This gives them a list of machines to target at. We noticed multiple login brute-forcing attempts on the open ports/services, specifically on ports running logon instances like SSH as shown in figure 1 below.

                                      Figure 1: Login attempts made by the attacker IP

                                      Another instance of attack captured in a Netskope monitored cloud environment was exploitation attempts against the hosted Drupal service, attempting to execute known vulnerabilities in the web application, as shown in figure 2 below.

                                      Figure 2: Attacks on cloud service hosting web application server

                                      Above figure shows some of the exploitation attempts made on the web application server. The first highlighted arrow shows an attempt to exploit CVE-2018-7600, which was a recently disclosed zero-day vulnerability in Drupal CMS.

                                      Upon gaining access to the resource, the next wave of attack comprises of dropping the mining payloads and make the resource ready for mining. Figure 3 below shows one such event where the attacker begins to download a bash script by using the curl command. This bash script serves as the first stage payload which makes the resource ready for mining and reporting back to the mining pool.

                                      Figure 3: Download of mining script

                                      The attackers were seen rotating through multiple websites to download the shell script(md5: bacec449c5dad3d0dd8927544658437b). This was possibly done to ensure resilience to website take-downs.  Closer analysis of the shell script showed that it sets up the environment for monero mining onto the compromised system. The command line argument passed in the above image is the unique mining ID which associates the activity with the owner in the mining pool. The mining operation uses the integrated public address which is a combination of standard monero mining address with some additional information like payment ID and checksum. This increases the total length of the address between 95 and 106 alphanumeric characters.   

                                      Figure 4: bash script looking for monero pool wallet ID and validating its length.

                                      In a nutshell, the shell script performs following operations onto the infected machine(also depicted in Figure 5 below):

                                      • Download the required dependencies like lscpu, curl etc.
                                      • Validates the presence of existing mining process running onto the system and disable it.
                                      • Download, extract and install the latest version of xmrig monero miner.
                                      • Begins the mining operation in the background and reports back to the mining pool of the operation.

                                      Figure 5: Shell script downloading and setting up the xmrig monero miner

                                      Once the environment is setup, the bash script launches the xmrig process by taking the mining ID as the required parameter. The script also contains options to limit the CPU usage to avoid triggering an over-utilization alarm in the cloud infrastructure which might alert the system administrators. On the contrary, if proper monitoring and altering is not in place, the cloud infrastructure might increase the CPU limit to ensure that the running applications are not impacted. This is a major trade-off while running illegal mining operations inside a public cloud infrastructure.

                                      The result of the mining operation is immediately visible in the resource utilization graph of the cloud infrastructure. Figure 6 below shows an elevated utilization of computing resources during the timeframe when the mining operation was running on the infrastructure.

                                      Figure 6: Increased resource utilization as a result of monero mining operation

                                      Protecting Against Cryptojacking Attacks

                                      Abuse of computing resources hosted on an IaaS infrastructure can result into potential service outage as a result of over-utilization of resources. This directly impacts the company’s services as well as the billing associated with hosting the infrastructure. It becomes critical to realize the loopholes and patch them before they can be exploited by cybercriminals. Periodic running of security assessment against the IaaS resources is a good practice to identify weaknesses in the implementation and take immediate remediation action. Figure 7 below reflects the result of an assessment scan performed using Netskope’s IaaS scanning.

                                      Figure 7: Netskope dashboard showing security assessment result

                                      The assessment piece provides us with some of the best practices for IaaS security that we might have missed during initial setup. In the example discussed above, one of the critical hardening steps would be to ensure that the remotely accessible instance is attached to a  security group that limits its access privileges and only talks to the resources that are not critical. This is also depicted in the assessment report in Figure 8.

                                      Figure 8: incorrect or weak IAM and security group settings

                                      General Recommendations for IaaS Security

                                      • Deploy a real-time visibility and control solution to monitor activities across sanctioned and unsanctioned accounts.
                                      • See granular details about admin activity across the organization with logging and monitoring services like Amazon CloudTrail and Azure Operational Insights.
                                      • Deploy a solution that can provide fine-grained control over the device that can be used for corporate account access.
                                      • Identify anomalous users and behavior and Enforce restrictions on root users
                                      • Deploy an IaaS-ready advance DLP solution to prevent sensitive data loss in your web facing storage services like AWS S3 and Azure Blob.
                                      • Get comprehensive threat and malware detection for IaaS, SaaS, and PaaS with real-time, multi-layered threat detection and remediation.
                                      • Continuously monitor and audit your IaaS security configurations to ensure compliance with standards and best practices.

                                      Mantenha-se informado!

                                      Assine para receber as últimas novidades do Blog da Netskope