DERUUA

Business cases of the projects we completed

Security assessment projects: audits and penetration tests

• Pentest of a cryptocurrency exchange functional

We were approached by a company that was planning to enter the promising cryptocurrency market. To accomplish this goal, the company has developed a web application with the functionality of cryptocurrency exchange. Before publishing the application to the Internet, the company decided to perform an information security audit for it, using penetration testing methods according to the OWASP methodology. They requested such service from us.

The testing was conducted in the “black box” mode: at the initial stage, the auditors had at their disposal only the URL of the application under test.

In the course of the Pentest, the following actions that could be committed by attackers were identified and confirmed:

  • Take advantage of the lack of input filtering in the ‘meeting room’ functionality and conduct an XSS attack on a user or administrator. This was successfully confirmed when the dialog was opened by the test victim (the user or the administrator to whom the message was transmitted). The script functionality can be anything. For example, hidden mining, a fake form of authentication, etc., up to complete control over the victim's computer.
  • Take advantage of the flaws in the file upload functionality in the web application and access the server file system (ability to read, upload, delete files), execute arbitrary commands on the server, execute SQL queries, make connections from the server interface to other systems, i.e. the attacker gains complete control over the server and the data can be completely compromised.
  • After gaining control over the server, take advantage of the drawbacks of cryptographic protection. In particular, the lack of control over the integrity of transaction data in the application, and make changes to the account balance.
  • Bypass the check when sending messages and impersonate another user or administrator, thus mislead the victim and commit fraudulent actions.
  • Identify registered users.
  • Attack user passwords.
  • Receive unauthorized access to files that other users have downloaded.

The customer received an exhaustive report on vulnerabilities and how to fix them. After the elimination of vulnerabilities, the auditors verified the elimination of deficiencies discovered earlier. And only after this web application was published on the Internet.

Thus, the audit using penetration testing methods saved the customer from possible reputational and financial losses.

Learn more about pentest.



• Network pentest for a nationwide pharmacy network

A nationwide pharmacy network ordered an external pentest of their computer network. Black box mode was chosen.

During the project, it was discovered that all critical IT infrastructure was behind the firewall. It seemed, there were no chances to penetrate. Then we decided to check points of sales, and checked several drugstores. One of them had a Mikrotik router with default password. This type of routers has blank default passwords, so the router was "compromised". It had OpenVPN, locally stored certificates, and allowed sniffing. We intercepted traffic and found confidential information of the sales and accounting system. Then we extracted certificates from the compromised router, made a fake point of sale, and connected to the VPN server. We impersonated ourselves as an ordinary drugstore. This way we penetrated the internal IT infrastructure of the customer that was protected by the firewall and seemed impenetrable. We explored the Active Directory network, found SQL server with domain authentication and penetrated it using a password that had been extracted by mimikatz utility before.

The project was completed with the conclusion that the penetration is possible, and the customer's information security level is low. The customer received risk assessment results, information about the vulnerabilities, and recommendations how to remediate them and harden the IT infrastructure.

Learn more about pentest.



• Grey-box and white-box pentest for a telecom company

A mid-sized telecommunication company motivated to comply with external security requirements requested implementation of the complex information security system and overall security assessment. The customer chose grey box and white box as the penetration testing modes. Target object of the pentest were external servers, DMZ, web applications, and internal nodes of the local area network. During the project, the following vulnerabilities and drawbacks were discovered:

  • Network configuration errors, lack of segmentation (lack of separate VLAN for management interfaces iLO, IMPI, IP KVM, etc.).
  • Weak passwords in active network devices.
  • Hidden resources were accessible (ADMIN$, C$, D$, etc.).

As a result of vulnerability exploitation, the documents containing confidential data were extracted. Thus, unauthorized access by an intruder was emulated. The customer received a comprehensive report about the vulnerabilities and their remediation methods.

Learn more about pentest.



• Internal pentest for a big industrial plant

A big industrial plant with about 10,000 employees needed an assessment of IT infrastructure compliance with security requirements. The plant ordered the penetration test in grey box and white box modes. Local area network servers were chosen as the pentest target objects. During the project, the following vulnerabilities and weaknesses were found:

  • Drawbacks in the event monitoring and security incident response processes (lack of measures to prevent intrusions, and recover from incidents).
  • Drawbacks in configuration management (uncontrolled test and guest network hosts in the corporate domain).
  • Drawbacks of access and privilege management (open login via ssh for the standard root account; single administrator account for DC, network equipment, and user workstation management).
  • Other technical vulnerabilities (proxy auto-detection for software is enabled).

An unauthorized access of insiders was modelled during the project. The customer received the full report on vulnerabilities and how to eliminate them.

Learn more about pentest.



• Analysis of a retail company's infrastructure

A medium-sized retailer implemented internal and external information security requirements. Some of them required complete analysis of the enterprise infrastructure, including penetration tests in the "grey box" and "white box" modes. During the pentest, the following vulnerabilities and weaknesses were found:

  • Vulnerabilities in the web applications (no request validity checks in the applications, data transfer through unencrypted HTTP channel).
  • Privilege management drawbacks (domain accounts for various services and applications had too high privileges).
  • The possibility of e-mail forgery (no DKIM / DMARC signature systems on mail servers).
  • Drawbacks in monitoring processes of security events (no "auditd" customization for events).
  • The possibility of unauthorized device connection to the network (DHCP snooping, no port security).

During the pentest, as a demonstration of vulnerability, an unauthorized access to the network equipment was emulated. The customer received the full report on the vulnerabilities and the ways to eliminate them.

Learn more about pentest.



• The pentest for PCI DSS compliance in a financial organization

A small financial organization connected to the international payment systems Visa and Mastercard faced with the need to comply with the PCI DSS standard requirements. Among them, there is the requirement to perform an external and internal penetration test regularly. During the analysis of the infrastructure scope (cardholder data environment) the detailed parameters of the external pentest were agreed with the customer. The parameters included grey box and black box modes, and the list of target objects, namely, the Internet-facing services and Web applications.

As a result of the pentest, multiple vulnerabilities in the web applications were discovered (PHP injections, cross-site scripting, direct object references, missing software update mechanisms, insecure default Web server configurations, no access control on the functional level, buffer overflows, error in the web application code).

During the project, no real ways of penetration were found, but potential ways were present. The customer received a comprehensive report on the vulnerabilities and how to enhance security of the infrastructure. The report was made in accordance with the requirements of PCI DSS, including the description of the penetration test methodology, which was used during the project.

Learn more about pentest.



Managed security and compliance: implementation of ISO 27001, TISAX, etc.

• Implementation of ISO 27001 in a medical software company

A small software company was faced with the requirements of their customers to be certified according to ISO 27001 standard. Moreover, the certification body had to hold the highest international accreditation level of UKAS.

Previously, the company took only superficial measures and performed only occasional works related to information security, and only in the field of server and workstation protection. We immediately began working on the scope analysis and outlining the work plan of the initial audit and gap analysis. We performed this work for the client for free. After that, the company saw that we understand their problems, and are able to build realistic plans. Therefore, they signed a contract with us for an audit, gap analysis and development of an implementation plan. In 3 weeks, we completed this work. The customer was once again convinced that our experience and speed exceeded their expectations.

After that, the customer concluded an agreement with us for the implementation of ISO 27001. In 6 months, we developed all the controls required by the standard, described them in 18 policies and procedures, implemented a number of security management registers, and conducted staff training. We paid particular attention to the secure software development life cycle.

Then the question of choosing an independent auditor arose. We recommended one of the largest German auditing firms to our client. We also contacted this auditor, held a discussion with them and prepared them for certification of our client in advance. The client and the auditors signed an agreement for audit and certification.

During the audit, we defended our client and the information security management system that we built. The auditors made minor comments, as they usually do. We took those comments into account, made corrections, and in 2 weeks our client received an official certificate of ISO 27001 compliance.

In order to support the implemented system and confirm the certificate annually, the company subscribed for our ‘Remote Security Manager’ service.

Our client was also interested in our competency not only in security process management, but also in IT security. The company ordered from us advanced services for application security, source code security analysis and penetration testing of their software products.

The company obtained the certificates of compliance with ISO 27001 and the successful passing of security assessment, and published them on their website and in marketing materials. The company advertised their new status and gained significant competitive advantages, which resulted in an increase in the number of orders and sales.

Learn more about ISO 27001.



• Implementation of ISO 27001 and TISAX in a company that develops automotive systems

A representative of the German automotive industry engaged in the development of on-board automotive systems contacted us to achieve urgently the compliance with ISO 27001 and the Trusted Information Security Assessment Exchange (TISAX). High competition in the market of automotive systems (security, piloting, navigation, entertainment systems, etc.) forces leading car manufacturers and their contractors (Volkswagen-Audi Group, Porsche, Daimler AG, BMW, Bosch, etc.) to force the launch of new products on the market while maintaining the level of quality, safety and security. This led to the high motivation of our client.

Prior to this, the client tried themselves to fill out TISAX compliance forms, but the lack of the necessary competencies did not allow them even to begin the implementation process properly.

TISAX compliance, although built on the basis of ISO 27001, has its own specifics. For example, unlike an ISO 27001 audit, which can take several days, a TISAX auditor spends only one day at the customer's office. But then it takes about 3 months to collect the pieces of evidence for each security process. TISAX audit reporting implies a high degree of automation using modern GRC (Governance, Risk management and Compliance) systems.

During the first 3 months after signing the contract with our client, we thoroughly studied their business processes and developed about 50 documents necessary for compliance with ISO 27001 and TISAX. During the implementation and audit reporting, we used Redmine and Goriscon systems.

In total, from the start of the project till the day they received the TISAX compliance label, 6 months of intense collaboration between our consultants and our client's employees have passed. We conducted several training sessions, performed a series of server and application security assessments, strengthened network security, system life cycle security, implemented risk management, security key performance indicators (KPI), change and incident management processes, etc.

The implemented processes, operations and security systems must be constantly maintained not to lose effectiveness, and therefore our client ordered the ‘Remote Information Security Manager’ service from us. We continued to conduct regular training sessions with our client, monitor information security events, respond to security incidents, perform quarterly vulnerability scans, audit software source code, report to our customer's auditors and clients, etc. That is, to fully perform the functions of an information security manager.

Our customer noted not only an increase in security as a result of this project. During the asset management and technical vulnerability assessment, ineffective use of systems, redundant access, configuration errors that reduce network performance, etc. were discovered. As a side effect of the project, the customer optimized some of their IT operations.

Achieving the official compliance status with ISO 27001 and TISAX allowed our client to get new long-term contracts from one of the giants of the German automotive industry.

Learn more about VDA and TISAX.



Information security incident response and investigation

• Hacker attack on the government of an Eastern European country

A representative of a major government organization of an East European country asked us for help in responding to and investigating a hacker attack. From 5 AM Saturday, the official website of this organization was unavailable due to the hacker attack Drupalgeddon 2, which was carried out automatically by malicious scripts all over the Internet.

As a result of the analysis, it was revealed that the attack did not impact important data and did no harm except for the downtime of the website. However, this downtime caused some damage to the organization’s users, operations and reputation.

We quickly cleaned the website of malicious files, restored it, and collected event logs and other evidence to pass them to the police.

We conducted the investigation by analyzing the event log files of various server services. It was established that the last successful request with return code 200 was from a certain IP address, and after that, there were no logged events. Next, the website scripts were analyzed, and we found that a fragment of PHP code was inserted at the beginning of all executable files, which first turned off logging and then in a surreptitious way launched a shell that could accept remote commands for execution. Malicious insertions were also found in the database.

After cleaning the website and collecting evidence, the server was hardened (configured for security), the CMS Drupal version was updated, additional controls for preliminary testing and security updates were introduced. Besides, a web application firewall (WAF) was deployed to protect the website in real-time, and host-based intrusion detection system (HIDS) was implemented for daily monitoring of the integrity of critical files. We also offered to the organization our comprehensive Continuous Website Protection services, including, but not limited to, full protection against DDoS attacks. The organization has subscribed to this service.

Even though the police did not find the perpetrators, we helped the state organization gain a new level of security for their server, which allowed them to detect intrusions successfully and withstand both small and large-scale malicious attacks over the next several months, up to the present.

Learn more about information security incidents.



Security analysis of software source code

• Audit of source code for an international payment system

Brief description of the system. The system of electronic wallets allowed the clients to replenish the balance using bank payment cards (card information is not transmitted or stored), PerfectMoney, WebMoney, LiqPay, SWIFT and other methods. With the same methods, money withdrawal was possible. The wallets were multicurrency, and it was possible to exchange one currency to another inside the system at internal rates. The system had an API for integration with merchants. The main target category of users was clients of Forex brokers. Besides, mobile operators and electronic stores selling mobile phones and accessories were connected to the payment system.

Technologies: modular client-server distributed architecture, cloud hosting, DBMS: PostgreSQL, MySQL, GT.M, programming languages: C++, PHP, Go, Hack, Python, M, Java, JavaScript, Perl.

Total number of lines of source code: 1.8 million.

Objective. In white-box mode, find the flaws in the architecture, insecure use of code, system vulnerabilities and penetration methods.

Solution. During the audit, first automated, then manual code analysis was used. We identified a large number of uninitialized variables, obsolete and insecure functions working with memory, and insufficient input validation. In some places of the code, the parameters of user queries without validation were used in SQL queries. This allowed to perform SQL injection attacks and compromise the personal data of clients. We revealed an insecure data transfer through a proxy between the frontend and backend of some modules. That could lead to a successful implementation of a MitM attack. Weaknesses in the protection of the administrative panel of the system were uncovered. They allowed privilege escalation of the users with Verifier and Financier roles. Logical errors were identified. They could lead to the bankruptcy of the system through manipulations with internal processes of currency exchange. Transaction logging errors were detected. We revealed logical errors in control calculations of transaction chains for monitoring of system integrity. Detailed reports for the top management, IT director and technical specialists were developed. The reports contained descriptions of all found problems and recommendations for their solving.

Duration of work: 3 months.

Conclusions. We have provided indispensable help to the payment gateway in the form of complete line-by-line analysis of the source code of its systems. The analysis took an incomparably shorter time than the code development. With our help, the company was able to pass the PCI DSS audit successfully, obtain the official certificate, publish the gateway in the public domain and successfully begin its financial activities.

Learn more about security analysis of source code.



• Source code audit for a cryptocurrency exchange

Short description of the system. A decentralized exchange that allowed to trade cryptocurrencies and tokens based on Ethereum smart contract.

Technologies: independent frontend and backend, administrative part as an iOS application, DBMS: PostgreSQL, programming languages: Go, Python, JS, Objective-C, Java.

Total number of lines of source code: 960 thousand.

Objective: in white-box mode, find the system vulnerabilities and the possibilities of hacking it.

Solution: Static code analysis at the first stage revealed errors in repeating code usage. They were fraught with serious pending logical problems. Erroneous parameters, errors in variable dependency models, insufficient coverage of implemented test scenarios were also found. Further manual analysis of the source code helped to identify hidden problems with incorrect validation of input data, logical problems with sources of cryptocurrency quotes and quotes for cryptocurrency pairs, as well as the possibility of injecting incorrect data for writing to a smart contract. Detailed reports for executive management and technical specialists were generated. The reports contained the descriptions of all found problems and recommendations for resolving them.

Duration of work: 2 months.

Conclusions. With our help, the cryptocurrency exchange eliminated significant security issues that threatened the success of the organization. We managed to conduct our audit before the official launch of the exchange, therefore it was not exposed to the risks after the web applications were published and real users started working.

Learn more about security analysis of source code.



• Audit of the source code of a VoIP telephony system

Short description of the system. Commercial secure VoIP system certified by the Israeli Ministry of Defense.

Technologies: modular architecture, web server, VoIP server, client applications for Windows, iOS, Android; DBMS: Oracle; programming languages: .NET, C / C#, Objective C, Java.

Total number of lines of source code: 1.2 million.

Objective: in white-box mode, conduct an independent security audit of the source code of the system.

Solution. Automated static analysis was performed by the customer themselves. Therefore, exclusively manual method was used in the security audit. In the C code, unsafe memory functions were identified. They allowed buffer overflows and memory leaks. In mobile applications, logical errors were identified. They allowed intercepting encryption keys using a MitM attack. We also identified architectural errors. They allowed using a DoS attack to block a subscriber. Detailed reports for executive management and technical specialists were generated. The reports included descriptions of all found problems and recommendations for resolving them.

Duration of work: 2 months.

Conclusions. Despite the significant efforts of the customer to find the security problems in their system, using modern licensed code security scanners, our independent line-by-line audit of the code identified additional problems not detected by the customer. The elimination of these problems allowed the customer to raise the security of their solution to a new level. They avoided compromising the confidential information of customers.

Learn more about security analysis of source code.



• Code review for a global manufacturer of the household and industrial equipment

A global manufacturer of the household and industrial equipment was going to implement new modules for their ERP, CRM, financial and e-commerce systems.

The modules were written using Java, C++ and SAP UI5.

The customer scanned the source code with security scanners of software source code, performed the pentest, found security issues, fixed them, and asked us to make a manual security review of the source code.

The total work scope was about 2 million lines, and in about 3 months in total, we presented a comprehensive report showing the critical security problems, which were missed even by the security scanners and grey-box penetration test.

For example, we have found critical race-condition vulnerabilities, which could appear not often but could cause huge damage.

Another example was a backdoor in the software code allowing the software developers to have unauthorized access to the production system. The developers explained that they needed this access for legitimate debug purposes, however, that was a risk, and we insisted on closing this backdoor.

Conclusions. The customer made the right decision to entrust us with independent verification of the results of their own security work and received important information on omissions that could cause serious financial damage. Corrections to the systems were made, their security was ensured, and the risks of losses were minimized.

Learn more about security analysis of source code.



Security Operations Center cases

• Continuous protection of a university’s websites

The websites of a Ukrainian information technology university suffered from regular attacks. Mainly, the offended students hacked their alma mater, and the future IT specialists penetrated and defaced the websites just for fun. The university staff was unable to withstand the attacks, and the university management decided to outsource the website security to us.

First, we performed the initial security hardening. In particular, conducted the security audit of 6 websites and several technological processes. Then we analyzed the assets, defined the security policies and procedures, hardened the web servers using CIS Benchmark framework and updated several weak components. Besides, we implemented comprehensive backup procedures, log collection services, strict role-based access, two-factor authentication and other security controls. Following the university policies, we employed several open source security solutions, namely, Web Application Firewall (WAF) ModSecurity, Host-based Intrusion Detection System (HIDS) Tripwire and some other products.

Then we implemented continuous protection for the websites. We employed ultimate protection against DDoS attacks using Cloudflare services. Website availability checks started every minute. We enabled transaction checks – user browser emulation to test the important functions of the websites, for example, login/registration, etc. Also, we have employed the Real-User Monitoring (RUM) checks to test the download time of the websites from the real user perspective. We connected university systems to our SIEM security monitoring system. That also introduced some positive side effects and enhancements like global CDN for static content optimization, optimization and acceleration of traffic for mobile devices.

After that, we distributed the security responsibilities across the university security staff and our personnel. Our dedicated specialists started to monitor the website security round-clock. Then, we performed several training sessions for the university engineers on security vulnerabilities, security testing, security event monitoring and incident response.

Finally, we even advised the university to announce a bug bounty program encouraging the students to report vulnerabilities and try to hack the websites as their practical work. Thus, we turned our adversaries to our allies with no additional cost and, at the same time, discouraged anyone who did not want to collaborate.

As a result of implementation of continuous website protection, the website incidents decreased to a negligible level. Penetrations and defaces ceased at all. The IT university reputation as a secure organization was saved and considerably improved.

Learn more about continuous website protection.



• Implementation of the SOC and SIEM security monitoring system in a bank

A mid-size bank contacted us intending to introduce Security Incident and Event Management (SIEM) system in their own data center. This bank had some elements of a Security Operations Center (SOC) and asked us to improve it, bring it to modern standards and take over the support of SOC.

From the several available SOC/SIEM models (on-premise SOC, cloud implementation, full outsourcing, etc.), the client selected a combined model that required our staff to work with monitoring systems physically located in the bank.

First, we carried out an inventory of the client’s information assets, identified the sources of events from more than 5000 hosts located in 12 offices and data centers of the bank, including more than 50 database servers. Next, we identified incident profiles, response and support procedures, and estimated the incident flow capacity, which was about 1500 EPS.

Based on the IBM QRadar high-availability cluster, we implemented the following functions and components in the bank's data center: log management, security event management, threat intelligence, risk and vulnerability management, user and entity behavior analysis, machine learning, orchestration and response, honeypots/honeynets and threat hunting, digital forensics.

Our experts developed the rules and procedures, wrote the missing custom parsers and quickly connected event sources from Microsoft Server Family, Microsoft System Center, RedHat Enterprise Linux, Hitachi, IBM AIX, IBM Storage Manager, Cisco IOS / NX-OS, Check Point NGX, SAP, Citrix XenServer, XenDesktop, XenApp, Microsoft SQL, Oracle, Microsoft Exchange, SharePoint, UAG and many other types of systems.

We protected the system components with firewalls, and the data streams – with Site-to-Site VPN, determined the role-based access matrices for the system, set up continuous updates, fine-tuned the rules and tested the detection of anomalies and threats.

Right before the transfer to production, we distributed the security roles and responsibilities between our personnel and the customer’s staff, conducted their training and put the system into commercial operation.

The implementation of the system took us 8 months.

Conclusions. As a result of the implementation, the bank received a modern Security Operations Center based on a real-time monitoring system for events and response to security threats. Among other outcomes, we optimized some of the customer’s technological processes, discovered obsolete assets, improved server access control, set up the collection and storage of security event protocols in accordance with PCI DSS requirements and national requirements for the collection of forensic evidence acceptable in court. The bank successfully passed several external independent audits and fulfilled the requirements of compliance with norms and standards. The total annual damage from security incidents has decreased several times.




(Company and organization names are under Non-disclosure Agreements)

 

Our happy customers

Our clients are product and outsourcing IT companies, as well as construction, automotive, e-commerce, industrial, medical, pharmaceutical, telecommunication, retail, insurance companies, banks and governmental organizations, etc. Some of our happy customers are:

 

References

"We are very pleased that we have had the opportunity to work with such a team of professionals as H-X Technologies. We have only positive impressions. Working with the H-X team was pleasant and interesting. Everything was done according to the conditions specified in the statement of works and exactly on schedule. Both the security assessment process itself and the provided reporting showed a high level of professionalism. We don't regret that we have decided to cooperate with H-X Technologies. We look forward to further cooperation."

Sergey Krivich, Head of Information Security, BI Group
Altynay Lebakina, Head of Information and Analytical Department, BI Group

"The H-X team has conducted a detailed project planning to assess the security of our infrastructure. They have showed a creative approach, and have properly implemented the security assessment plan. The security assessment has provided valuable information on priorities of security enhancements for our company, including strategic objectives and tactical activities."

Dmytro Dniprovskyi, Information Security Manager, Intecracy Group

"We were facing serious challenges related to our customers' requirements for formal compliance with international and industry information security standards. The H-X team very quickly helped us to evaluate and fill the current organizational and technical gaps, and they continue to help."

Artem Savotin, Managing Director, Ameria

"The H-X team have completed a technical security assessment of one of our products, and we've been surprised by the high quality of the results. They've helped to improve the quality of our development and testing processes."

Viktoriia Pogrebniak, IT Manager, FluentPro

And how secure are you?
Read more about penetration tests and check your protection.


About us and our news.


Our certificates:

(ISC)2
CISSP
ISACA
CISA
CISM
Offensive Security
OSCP
PECB
LPTP
Microsoft
Qualys
BSI