IP Library › Granted Patent US 12,164,911
Granted Patent B2
US 12,164,911 · App. 17/720,618 · Granted Dec 10, 2024

Monitoring and auditing secure software builds

Inventors: Angel Nunez Mencias (Stuttgart, DE); Thomas Pohl (Weil im Schoenbuch, DE); Timo Kussmaul (Boeblingen, DE); Ralf Schaufler (Weil im Schoenbuch, DE); Simon Spinner (Stuttgart, DE); Kai Brennenstuhl (Boeblingen, DE); Martin Tröster (Renningen, DE)
Assignee: International Business Machines Corporation
G06F8/71G06F9/466G06F11/3466G06F11/3604G06F11/3636G06F21/54G06F21/554G06F21/577G06F21/64G06F8/77G06F11/3616G06F11/3676
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,164,911
App. No.
17/720,618
Granted
Dec 10, 2024
Kind
B2
Abstract

A computer-implemented method for monitoring and auditing secure software builds is disclosed. The computer-implemented includes receiving a build file containing a sequence of build instructions. The computer-implemented method further includes, for each build instruction being executed: determining an indicator value corresponding to a monitoring level associated with a build instruction; and modifying logging of trace information associated with a computing system executing the build instruction based, at least in part, on the indicator value corresponding to the monitoring level.

Claims (49)

1. A computer-implemented method for monitoring and auditing secure software builds, comprising:

executing, by one or more processors, a sequence of build instructions included in a build file; and

while executing, by the one or more processors, each build instruction included in the build file:

setting, by the one or more processors, an indicator value corresponding to a monitoring level associated with a build instruction, wherein the monitoring level is a depth of trace activities executed during the execution of the build instruction; and

modifying, by the one or more processors, a level of logging of trace information derived from the depth of the trace activities executed during the execution of the build instruction based, at least in part, on the indicator value corresponding to the monitoring level.

2. The computer-implemented method of claim 1 , wherein one or more particular types of the trace information derived from the depth of the trace activities executed during the execution of the build instruction that is logged is selected from the group consisting of: network usage, incoming communication messages, outing communication messages, system process data, called routines, command level interface inputs, and respective metrics thereof.

3. The computer-implemented method of claim 1 , further comprising, while executing the build instruction:

logging the trace information derived from the depth of the trace activities executed during the execution of the build instruction in a log file.

4. The computer-implemented method of claim 3 , further comprising, while executing the build instruction:

determining, based on an analysis of the trace information logged in the log file, whether a log file entry corresponds to an authorized transaction.

5. The computer-implemented method of claim 4 , further comprising, while executing the build instruction:

adding a corresponding result of the analysis of the log file entry to an audit trail.

6. The computer-implemented method of claim 4 , further comprising:

terminating, in response to determining that the log file entry corresponds to an unauthorized transaction, an execution of the build instruction.

7. The computer-implemented method of claim 6 , wherein determining that the log file entry corresponds to an unauthorized transaction includes:

comparing the log file entry to an unpermitted list of build instructions; and

matching a build code included in the log file entry to a same build code included in the unpermitted list of build instructions.

8. The computer-implemented method of claim 1 , wherein the indicator value determined based, at least in part, on one or more configurable critical instructions associated with the build file.

9. The computer-implemented method of claim 1 , wherein the monitoring level associated with the build instruction is determined based, at least in part, on a hardcoded mapping table.

10. The computer-implemented method of claim 1 , further comprising:

signing, in response to a completion of the software build, a manifest file.

11. A computer program product for monitoring and auditing secure software builds, the computer program product comprising one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions including instructions to:

execute a sequence of build instructions included in a build file; and

while executing each build instruction included in the build file:

set an indicator value corresponding to a monitoring level associated with a build instruction, wherein the monitoring level is a depth of trace activities executed during the execution of the build instruction; and

modify a level of logging of trace information derived from the depth of the trace activities executed during the execution of the build instruction based, at least in part, on the indicator value corresponding to the monitoring level.

12. A computer system for monitoring and auditing secure software builds, the computer system comprising:

one or more computer processors;

one or more computer readable storage media;

computer program instructions, the computer program instructions being stored on the one or more computer readable storage media for execution by the one or more computer processors; and

the computer program instructions including instructions to:

execute a sequence of build instructions included in a build file; and

while executing each build instruction included in the build file:

set an indicator value corresponding to a monitoring level associated with a build instruction, wherein the monitoring level is a depth of trace activities executed during the execution of the build instruction; and

modify a level of logging of trace information derived from the depth of the trace activities executed during the execution of the build instruction based, at least in part, on the indicator value corresponding to the monitoring level.

13. The computer system of claim 12 , wherein one or more particular types of the trace information derived from the depth of the trace activities executed during the execution of the build instruction that is logged is selected from the group consisting of: network usage, incoming communication messages, outing communication messages, system process data, called routines, command level interface inputs, and respective metrics thereof.

14. The computer system of claim 12 , further comprising, while executing the build instruction, program instructions to:

log the trace information derived from the depth of the trace activities executed during the execution of the build instruction in a log file.

15. The computer system of claim 14 , further comprising, while executing the build instruction, program instructions to:

determine, based on an analysis of the trace information logged in the log file, whether a log file entry corresponds to an authorized transaction.

16. The computer system of claim 15 , further comprising, while executing the build instruction, program instructions to:

add a corresponding result of the analysis of the log file entry to an audit trail.

17. The computer system of claim 15 , further comprising program instructions to:

terminate, in response to determining that the log file entry corresponds to an unauthorized transaction, an execution of the build instruction.

18. The computer system of claim 17 , wherein the program instructions to determine that the log file entry corresponds to an unauthorized transaction further includes instructions to:

compare the log file entry to an unpermitted list of build instructions; and

match a build code included in the log file entry to a same build code included in the unpermitted list of build instructions.

19. The computer system of claim 12 , wherein the indicator value determined based, at least in part, on one or more configurable critical instructions associated with the build file.

20. The computer system of claim 12 , wherein the monitoring level associated with the build instruction is determined based, at least in part, on a hardcoded mapping table.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 14, 2022
From: NUNEZ MENCIAS, ANGEL; POHL, THOMAS; KUSSMAUL, TIMO; SCHAUFLER, RALF; SPINNER, SIMON; BRENNENSTUHL, KAI; TRÖSTER, MARTIN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 059599/0109 →
Continuity (1)
Related Publication 20230334147A1 · Oct 19, 2023