hottub.patents
US 12,769,830 B2#3104372 Most CitedActiveUnited States (USPTO)Utility

Detecting a security bypass through binary code analysis

0Forward Citations (#3104372 Global)
0.0/yrCitation Velocity (#3104372 Global)
0.00Citation PageRank (#3104372 Global)
32Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
4Drawings / Sheets

Abstract

Detecting a security bypass through binary code analysis is disclosed, including identifying one or more binary files of an authorized program; determining, based on a static code analysis of the one or more binary files, that the authorized program includes a potential security bypass, wherein the potential security bypass includes a modification of a system control block; and generating, in response to determining that the authorized program includes a potential security bypass, a security report.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method for detecting a security bypass through binary code analysis, the method comprising: identifying one or more binary files of an authorized program; performing static code analysis of code of the one or more binary files without executing the authorized program, performing the static code analysis comprising: disassembling the code to obtain disassembled code, analyzing control block structures, base pointers, and offsets being referenced by instructions of the disassembled code, determining an address, of a security field of a system control block of an operating system, using one or more of the base pointers and one or more of the offsets, determining whether the instructions modify bits of the security field without using a security interface of the operating system; determining, based on performing the static code analysis, that the authorized program includes a potential security vulnerability when the bits of the security field are modified without using the security interface; generating, in response to determining that the authorized program includes the potential security vulnerability, a security report that identifies the potential security vulnerability; and causing an action to be performed based on the security report.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the operating system is Z/OS.

  3. Claim 3Depends on #2

    The method of claim 2, wherein the authorized program is one of an AC(1) program, a supervisor call (SVC) routine, and a program call (PC) routine.

  4. Claim 4Depends on #2

    The method of claim 2, wherein a modification of the system security setting includes a modification of a Z/OS system control block, wherein the security setting includes at least one of a privilege and an authorization.

  5. Claim 5Depends on #4

    The method of claim 4, wherein the system control block is one of an accessor environment element (ACEE) and a job step control block (JSCB).

  6. Claim 6Depends on #4

    The method of claim 4, wherein the static code analysis includes: identifying a system control block architecture of an operating system; and determining, based on the system control block architecture, whether one or more processor instructions modifies a particular system control block field.

  7. Claim 7Depends on #6

    The method of claim 6, wherein the system control block architecture includes a control block chain defined by pointers and offsets.

  8. Claim 8Independent Claim

    An apparatus for detecting a security bypass through binary code analysis, the apparatus comprising a computer processor, a computer memory operatively coupled to the computer processor, the computer memory having disposed therein computer program instructions that, when executed by the computer processor, cause the apparatus to carry out the steps of: identifying one or more binary files of an authorized program configured to execute on a computing system based on Z/Architecture; performing static code analysis of code of the one or more binary files without executing the authorized program, performing the static code analysis comprising: disassembling the code to obtain disassembled code, analyzing control block structures, base pointers, and offsets, determining an address, of a security field of a system control block of an operating system, using one or more of the base pointers and one or more of the offsets, to determine if specific bits are being set or cleared by the code, and determining whether the code modifies specific bits of the security field without using a security interface of the operating system; determining, based on performing the static code analysis, that the authorized program includes a potential security bypass when the specific bits of the security field are modified without using the security interface; generating, in response to determining that the authorized program includes the potential security bypass, a security report that identifies the potential security bypass; and causing an action to be performed based on the security report.

  9. Claim 9Depends on #8

    The apparatus of claim 8, wherein the system control block is a Z/OS system control block.

  10. Claim 10Depends on #9

    The apparatus of claim 9, wherein the system control block includes one or more security settings for at least one of a user, job, or environment, wherein a security setting includes at least one of a privilege and an authorization.

  11. Claim 11Depends on #10

    The apparatus of claim 10, wherein the security interface is provided for changing the one or more security settings, and wherein the modification of the system control block bypasses the security interface.

  12. Claim 12Depends on #9

    The apparatus of claim 9, wherein the system control block is one of an accessor environment element (ACEE) and a job step control block (JSCB).

  13. Claim 13Depends on #9

    The apparatus of claim 9, wherein the system control block is a job step control block.

  14. Claim 14Depends on #8

    The apparatus of claim 8, wherein the static code analysis includes: identifying a system control block architecture of an operating system; and determining, based on the system control block architecture, whether one or more processor instructions modifies a particular system control block field.

  15. Claim 15Depends on #14

    The apparatus of claim 14, wherein the system control block architecture includes a control block chain defined by pointers and offsets.

  16. Claim 16Independent Claim

    A computer program product for detecting a security bypass through binary code analysis, the computer program product disposed upon a computer readable storage medium, the computer program product comprising computer program instructions that, when executed, cause a computer to carry out the steps of: identifying one or more binary files of an authorized program; performing static code analysis of code of the one or more binary files without executing the authorized program, performing the static code analysis comprising: disassembling the code to analyze control block structures, base pointers, and offsets being referenced by instructions, of the code, to determine whether a security setting of an operating system is being modified by the instructions, determining an address, of a security field of a system control block of an operating system, using one or more of the base pointers and one or more of the offsets, determining whether the instructions modify bits of the security field without using a security interface of the operating system; determining, based on the static code analysis of the one or more binary files, that the authorized program includes a potential security bypass when the bits of the security field are modified without using the security interface; generating, in response to determining that the authorized program includes a potential security bypass, a security report that identifies the potential security bypass; and causing an action to be performed based on the security report.

  17. Claim 17Depends on #16

    The computer program product of claim 16, wherein the system control block is a Z/OS system control block.

  18. Claim 18Depends on #17

    The computer program product of claim 17, wherein the system control block includes one or more security settings for at least one of a user, job, or environment, wherein a security setting includes at least one of a privilege and an authorization.

  19. Claim 19Depends on #18

    The computer program product of claim 18, wherein the security interface is provided for changing the one or more security settings, wherein the modification of the system control block bypasses the security interface, and wherein the security interface is a Resource Access Control Facility (RACF) in Z/OS.

  20. Claim 20Depends on #16

    The computer program product of claim 16, wherein the static code analysis includes: identifying a system control block architecture of an operating system; and determining, based on the system control block architecture, whether one or more processor instructions modifies a particular system control block field.

Technical Overview & Description

BACKGROUND Field of the Disclosure The field of the disclosure is security testing, or, more specifically, methods, apparatus, and products for detecting a security bypass through binary code analysis. Description of Related Art The development of the EDVAC computer system of 1948 is often cited as the beginning of the computer era. Since that time, computer systems have evolved into extremely complicated devices. Today's computers are much more sophisticated than early systems such as the EDVAC. Computer systems typically include a combination of hardware and software components, application programs, operating systems, processors, buses, memory, input/output devices, and so on. As advances in semiconductor processing and computer architecture push the performance of the computer higher and higher, more sophisticated computer software has evolved to take advantage of the higher performance of the hardware, resulting in computer systems today that are much more powerful than just a few years ago. A secure computing platform presents a complex environment with many authorized interfaces and a large amount of authorized code. Authorized code or programs may be provided as part of the operating system or as part of specific products. Some authorized code may be provided by software vendors or created by customers. For security, platforms may use a fixed control block architecture where status information is maintained in system control blocks that can only be modified by authorized programs. Application programming interfaces (APIs) may be provided for changing these settings through the use of security services; however, programs with sufficient privilege levels can simply bypass the intended interfaces and set the bits directly, thus preventing the security products or services from fully controlling the settings for the system. While security bypasses of this nature may be made with good intentions, they compromise the system integrity of the system due to unintende

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (32)

PatentTitleYearCitations
US 6,859,893 B2Service guru system and method for automated proactive and reactive computer system analysis200548
US 7,617,489 B2Method and system for detecting interprocedural vulnerability by analysis of source code200937
US 8,074,115 B2Methods, media and systems for detecting anomalous program executions201132
US 8,918,885 B2Automatic discovery of system integrity exposures in system code201414
US 9,563,420 B2Methods and apparatus for analyzing software interface usage20178
US 9,798,884 B1Systems and methods for identifying insider threats in code201723
US 10,157,057 B2Method and apparatus of segment flow trace analysis20180
US 10,719,606 B2Security processor for an embedded system20204
US 10,803,166 B1Automated determination of application privileges202013
US 10,831,898 B1Detecting privilege escalations in code including cross-service calls202017
US 10,915,640 B2Cyber security testing for authorized services20212
US 10,936,718 B2Detecting security risks in binary software code20210
US 11,347,850 B2Analyzing binary software code20221
US 12,299,138 B2Vulnerability analysis of a computer driver20251
US 12,314,391 B2Application trust framework20251
US 12,437,068 B2Automatic threat detection of executable files based on static data analysis20251
US 12,505,211 B2Method for detection of malware20251
KR 20080072214 AImage forming apparatus—0
KR 20130091578 ASubstrate treating apparatus and method for carrying in substrate—2
KR 20130097706 AMethod of providing an authenticable time-and-location indication—7
KR 20200097662 AWaveguide Routing Configurations and Methods—0
KR 20210073107 ALearning method and system of machine learning model that presents evacuation route using IP camera and thermal imaging camera—2

Non-Patent Literature (5)

  • No stated author; Detecting ACEE modifications; 2021; retrieved from the internet https://www.ibm.com/docs/en/zos/2.4.0?topic=guide-detecting-acee-modifications; pp. 1-5, as printed. (Year: 2021).
  • No stated author; ACEE: Accessor Environment Element; 2021; retrieved from the Internet https://www.ibm.com/docs/en/zos/2.4.0?topic=areas-acee-accessor-environment-element; pp. 1-17, as printed. (Year: 2021).
  • AYOUL3, GitHub
  • —
  • ayoul3/Privesc: Privilege escalation tools on Mainframe, URL: https://github.com/ayoul3/Privesc, GitHub, Inc., Sep. 10, 2018, retrieved: Feb. 20, 2023, 3 pages.