AU778171B2 - Gaming security system - Google Patents

Gaming security system Download PDF

Info

Publication number
AU778171B2
AU778171B2 AU78884/00A AU7888400A AU778171B2 AU 778171 B2 AU778171 B2 AU 778171B2 AU 78884/00 A AU78884/00 A AU 78884/00A AU 7888400 A AU7888400 A AU 7888400A AU 778171 B2 AU778171 B2 AU 778171B2
Authority
AU
Australia
Prior art keywords
memory
boot program
logic circuit
platform
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
AU78884/00A
Other versions
AU7888400A (en
Inventor
Robert Linley Muir
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aristocrat Technologies Australia Pty Ltd
Original Assignee
Aristocrat Technologies Australia Pty Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from AUPQ3216A external-priority patent/AUPQ321699A0/en
Application filed by Aristocrat Technologies Australia Pty Ltd filed Critical Aristocrat Technologies Australia Pty Ltd
Priority to AU78884/00A priority Critical patent/AU778171B2/en
Publication of AU7888400A publication Critical patent/AU7888400A/en
Application granted granted Critical
Publication of AU778171B2 publication Critical patent/AU778171B2/en
Anticipated expiration legal-status Critical
Expired legal-status Critical Current

Links

Description

rL, I/ uuVV/uv I 17,& Received 17 July 2001 1 GAMING SECURITY SYSTEM Field of Invention The present invention relates generally to gaming machines and in particular, the invention provides an improved method of detecting tampering in software such that the need for other expensive security measures may be reduced.
Background of the Invention Methods have been put forward for the authentication of gaming software using cryptographic digital signatures. Such methods check that each software module to be loaded has been signed by the authorized signer before. It will not load a module without a valid signature. The security of the machine can be traced back to the boot software which resides in EPROM or flash memory. The boot software will load no unauthorized code, which in turn will load no unauthorized code, as this is a requirement for code to authorized in the first place. However, these methods have the disadvantage that the machine can be tampered with by modifying the boot code to remove the signature checks.
In gaming the term multigame refers to a game machine in which more than one game is selectable without changing the hardware or software, usually by the player, but also by the operator. In a multigame machine the software is preferably separated into separate physical parts (eg. EPROM) or files. A system program provides supporting functions and the operating system while the game program provides that code which is different between games. A Multigame machine is then typically comprised of System program and multiple independent game programs. This flexibility introduces the possibility of unauthorized copying and use of games. It is relatively easy for an operator to copy game EPROMS and use them in machines for which they are not authorized.
In non-gaming applications non-volatile re-writable memory, typically Flash, is becoming very widely used for its high capacity and ease of field upgrades. In the past, upgrading the boot program of a gaming machine has not been feasible for security reasons. Regulators have been concerned that illegal code could be downloaded to the gaming machine. Regulators also generally require that code inside a gaming machine be verifiable, however if the boot code were changed it would only be possible to verify the data by removing the chip and reading it in a special purpose chip reader. The AMENDED SHEE-c
IPEA/AU
102243pct_co.doc Received 17 July 2001 2 program cannot be self verifying as tampered code could fake the correct response. This is very inconvenient in system design and customer use.
Summary of the Invention According to a first aspect, the present invention consists in a boot program security system associated with a platform for software execution, wherein the security system verifies an executable boot program to be executed on the platform and which contains basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the executable boot program, boot program memory means in which the executable boot program is stored, and address bus means and data bus means which provide communication between the processor means and the boot program memory means, the security system including boot checking memory means, comparison means, and software monitoring means to monitor addresses expressed on the address bus means by the processor means, the software monitoring means being responsive to addresses on the address bus corresponding to locations in which a secure portion of the executable boot program is stored, to read data expressed on the data bus means by the boot program memory means and representing words of the executable boot program being verified, providing the data read from the data bus to the comparison means for comparison with corresponding data in the boot checking code memory means and if the data does not match, producing a signal to indicate an abnormal condition.
According to a second aspect, the present invention consists in a boot program security system associated with a platform for software execution, wherein the security system overrides code fetches when a secure portion of a boot program is being executed on the platform, the boot program containing basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the programs, memory means in which the executable programs are stored and address bus means and data bus means which provide communication between the processor means and the memory means, the security system including secure boot program memory means, and software monitoring means to monitor addresses expressed on the address bus means by the AMENDED SHEET 102243pctco.doc
PEAU
Received 17 July 2001 3 processor means, the software monitoring means being responsive to addresses on the address bus corresponding to address locations allocated to the secure portion of boot program to read the corresponding locations of the secure boot program memory means and to pass the data read from the secure boot program memory means to the processor means for execution.
According to a third aspect, the present invention consists in a boot program security system associated with a platform for software execution, wherein the security system verifies an executable boot program to be executed on the platform and which contains basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the executable boot program, boot program memory means in which the executable boot program is stored, and address bus means and data bus means which provide communication between the processor means and the boot program memory means, the security system including boot checking memory means, comparison means, and software reading means to read data from the boot program memory means corresponding to a secure portion of the executable boot program and providing the data read from the boot program memory means to the comparison means for comparison with corresponding data in the boot checking code memory means and, if the data does not match, producing a signal to indicate an abnormal condition.
According to a fourth aspect, the present invention consists in a security override device for overriding a secure program stored in a secure program memory and verified prior to or during execution, including override program storage means holding a program which will be executed in place of the secure program during selected periods, verification detection means to detect completion of a verification process performed on the secure program and multiplexing means to multiplex the override program storage means with the secure program means, whereby the override program storage means is mapped in and out of memory space to selectively execute the override program.
According to a fifth aspect, the present invention consists in a method of verifying an executable boot program associated with a platform for software execution, the boot program being for execution on the platform and containing basic components of a platform operating system which perform a AMENDED SHEE( 102243pct_co.doc
IPENAAU
keceived 17 July 2001 4 security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the executable boot program, boot program memory means in which the executable boot program is stored, and address bus means and data bus means which provide communication between the processor means and the boot program memory means, a verification system including boot checking memory means, comparison means, and software monitoring means and the method including the steps of, the software monitoring means monitoring addresses expressed on the address bus means by the processor means, the software monitoring means being responsive to addresses on the address bus corresponding to locations in which a secure portion of the executable boot program is stored, to read data expressed on the data bus means by the boot program memory means and representing words of the executable boot program being verified, and providing the data read from the data bus to the comparison means, the comparison means comparing the data read from the data bus with corresponding data in the boot checking code memory means, and if the data does not match, the comparison means producing a signal to indicate an abnormal condition.
According to a sixth aspect, the present invention consists in a method of running a boot program on a platform for software execution in a secure manner by overriding code fetches when a secured portion of the boot program is being executed on the platform, the boot program containing basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the programs, memory means in which the executable programs are stored and address bus means and data bus means which provide communication between the processor means and the memory means, and a security system including secure boot program memory means, and software monitoring means to monitor addresses expressed on the address bus means by the processor means, the method comprising the steps of, monitoring addresses on the address bus and detecting addresses corresponding to address locations allocated to the secure portion of boot program, AMENDED SHEE,
IPENAU
102243pct_co.doc JL A I Received 17 July 2001 reading the corresponding locations of the secure boot program memory means, and passing the data read from the secure boot program memory means to the processor means for execution.
According to a seventh aspect, the present invention consists in a method of verifying an executable boot program associated with a platform for software execution, the boot program being for execution on the platform and containing basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the executable boot program, boot program memory means in which the executable boot program is stored, and address bus means and data bus means which provide communication between the processor means and the boot program memory means, and a security system including boot checking memory means, comparison means, and software reading means, the method comprising the steps of, reading data from the boot program memory means corresponding to a secure portion of the executable boot program, providing the data read from the boot program memory means to the comparison means, comparing the data read from the boot program memory means with corresponding data in the boot checking code memory means, and if the data does not match, producing a signal to indicate an abnormal condition.
According to a eighth aspect, the present invention consists in a method of overriding a secure program stored in a secure program memory and verified prior to or during execution, including the steps of storing an override program in an override program storage means, the override program being a program which will be executed in place of the secure program during selected periods, detecting completion of a verification process performed on the secure program and multiplexing the override program storage means with the secure program means, whereby while the verification of the secure program is not in progress the override program storage means is mapped in and out of the memory space to selectively execute the override program.
AMENDED SHEL 102243pct co.doc
IPEAIAU
Received 17 July 2001 6 Preferably a logic circuit is provided in which the boot checking code memory means, the comparison means, and the software monitoring means are implemented. The logic circuit may be a hard wired circuit but is more preferably an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or the like. However, the logic circuit is preferably not a user programmable device. The boot checking code memory means comprises a ROM which is included in the logic circuit (supplies the data to the CPU).
When an abnormal condition is indicated, the operation of the platform will be altered to prevent fraudulent operation or use of unauthorized software. This may be achieved by altering the function of otherwise unrelated parts of the logic circuit. It may also involve the logic circuit causing a reset of the processor means or preventing software access to sensitive functions of the platform. Preferably however, program segments relating to non-sensitive functions to continue to run, whereby information may be given to a user about the abnormal condition. When the platform is a gaming console, the sensitive functions comprise game operation, metering of console parameters such as hardware meters, credit input and credit output.
Preferably also, when an abnormal condition is indicated, the platform will be prevented from operating until the condition is acknowledged by an operator and corrected.
To facilitate correction of an abnormal condition, data indicative of the abnormal condition is preferably stored in non-volatile memory and for greater security again, non-erasable memory may be used.
Preferably, additional security for the secure boot routine is provided by performing a software security check of an entire boot memory in which the boot routine is held. This is preferably performed using a digital signature checking program, however it is also possible to implement security of the boot routine by using a hash code checking program, or another similar software security technique, to check an entire boot memory in which the boot routine is held and implementing signature checks in the executable code of the secure routine. Other programs may also be checked by signature or hash code before they are run, such that new game programs may be loaded onto the platform and validated without changing the secure program.
The signature or hash checking routines are preferably contained in the part of the boot code which is checked by the logic circuit.
AMENDED SHEEI 102243pct_co.doc IPEAIAU I- a I Z)X~jW'.J. Received 17 July 2001 7 In one form of the invention the logic circuit is removably connected to the platform for external verification of the secure program. In this case the logic circuit includes connection means to allow the removable connection to the platform. This enables the software to be checked by a third party such as an agent of a licensing authority. In one embodiment the logic circuit acts as an In-Circuit Emulator (ICE) for the processor means when it is attached to the platform and data stored in the boot program memory means are read via the ICE. In another embodiment the logic circuit incorporates logic which dumps the system memory contents to an external port. This may be achieved by asserting a pin on the logic circuit during power up, which causes the logic circuit to hold the processor means in a reset state, while it reads the memory contents and transmits it via a serial port to a personal computer. The logic circuit may also be designed to respond to requests from a serial port of the platform to dump memory contents to the serial port.
According to a ninth aspect, the present invention consists in a method of verifying a game program in a gaming machine arranged to play a plurality of games where each game is implemented in a separate game program, wherein the gaming machine is provided with an interface for connection of a secure authorization device which is used to authorize a game program to run, the method comprising the steps of, the gaming machine sending an authorization request message to the secure authorization device identifying the game requiring authorization, if the secure authorization device contains a game identification for the game requiring authorization it responds with a message authorizing the game, if the secure authorization device does not contain a game identification for the game requiring authorization it does not respond or responds with a negative message, the gaming machine verifies that the message received from the secure authorization device are from a valid device, the gaming machine only permits the game to be played if it receives with a message authorizing the game from the secure authorization device and it verifies that the secure authorization device is valid.
In particular, a smartcard may be used as the secure authorization device, and may use digital signatures to sign a game authorization message.
Preferably the gaming machine holds a signature public key for the secure AMENDED S-H
IPENAU
102243pct_co.doc Received 17 July 2001 8 authorization device and can check the signed game authorization message and the validity of the secure authorization device simultaneously.
Preferably also each game is authorized for a limited period only, and the secure authorization device will only authorize a game if the period has not expired. It is also desirable that a previously authorized game should cease to operate if the secure authorization device is removed from the gaming machine to prevent one authorisation device from being used on a plurality of machines to authorise simultaneously operating games.
Brief Description of the Drawings Embodiments of the invention will now be described by way of example with reference to the accompanying drawings in which: Figure 1 illustrates a hardware configuration for monitoring data and address buses to check a boot program; and Figure 2 illustrates a memory map of a CPU memory showing the security measures applied to different memory segments.
Detailed Description of the Preferred Embodiments One method of providing boot program security is to perform a digital signature check of the entire boot EPROM. The disadvantage of this approach is complexity of hardware, so, in preferred embodiments of the invention, it is proposed to only use hash put signature checks in the software. Using this approach, the hardware design is greatly simplified.
Legal Authorization Cryptographic digital signatures are a technical solution to the problem of unauthorized code modification. If this method is compromised it becomes possible for unauthorized software to be used in the machine.
The cryptographic methods may also be supplemented by a further method uses a message embed into the authorized software and which makes a legal statement about that software and it ownership or authorization. Such a statement might include a text message such as "This Software Is Authorized By Aristocrat Leisure Industries" or Aristocrat Leisure Industries" The authentication hardware or software requires that the message be embedded in the program/data it is authenticating. If the message is not present in the appropriate place the authentication test fails and the data/program is not used. Unlike digital signatures this method is technically AMENDED SHEr=-
IPENAAU
102243pctco.doc I .^UVV1 I Iv Received 17 July 2001 9 easy to cheat, by embedding the message, but provides legal recourse to the manufacturer if it is detected. Digital signatures are technically difficult by potentially legally weak. The two methods may be combined to provide both legal and technical security.
Referring to Figure 1, after the secure boot routines held in the EPROM 13 have been verified as discussed below, these routines can be used to load programs from a mass storage system 31 such as a hard disk drive 33 and controller interface 32. Other mass storage systems can also be used such as a CD or DVD ROM drive, a floppy disk drive or ZIP T M drive. The program will be loaded from the mass storage device into RAM by a loader program which is preferably held in EPROM 13, but could also be held a ROM associated with a logic circuit such as the ROM 17 of the Application Specific Integrated Circuit (ASIC) 12 illustrated in Figure 1. In alternative embodiments, the ASIC 12 may be replaced by a Field Programmable Gate Array (FPGA). As the program is read from the mass storage device 31, the loaded code is scanned for a predetermined text string embedded in the code such as Aristocrat Leisure Industries".
The scanning may either be performed in software by a routine in the loader program, or alternatively the ASIC 12 my be programmed to scan the data flowing over the buses 11 and locate the text string. In another embodiment, a hard wired scanning circuit can be connected to the busses 11 to scan for the string. This method of verification may be used in stead of a hashed code or encrypted signature but in the preferred embodiment is used as well as an encrypted signature or hashed code verification method.
Once the loaded program has been verified, the embedded text string will be displayed on a display device 34 such as the video display screen of a gaming machine on which the program is running, such that visual confirmation of the validation is provided. This display function is performed by the loaded program thereby also enabling detection of fraudulent use of software on other manufacturers' hardware. The loaded program also performs internal consistency checks to prevent alteration or deletion of the text string.
AMENDED br,-
IPEA/AU
102243pct co.doc rL_ I i 'V lJ.I I 1 71.
Received 17 July 2001 Boot Security These methods improve on the existing art, by allowing the verification of programs and data in boot memory and which is not possible to tamper with by simply changing the program memory.
An advantage of these security systems is that non-volatile re-writable memory can be used to hold the boot program. Even if tampered code were somehow loaded into memory the security mechanisms would prevent it being executed.
An advantage of Application Specific Integrated Circuit (ASIC) monitored memory and hash checked memory security mechanisms is that relatively simple logic is required in the ASIC and the rest of the security mechanism is in software. If the entire mechanism were placed in the ASIC it would be far more complex, costly, less flexible and take longer to design.
Boot memory contains the software that is first executed by the CPU when it exits the reset state.
Monitored memory (or hash checked memory) may also be used to store those parts of the software that access critical security functions. For example the ASIC may contain logic which can enable or disable access to cash payment mechanisms or auditing information. By putting the enabling switch in monitored memory it becomes possible to check the security and authentication of the machine software before enabling or disabling these features.
ASIC Monitored Memory The boot program is checked by monitoring the CPU address and data buses 11, as shown in Figure 1. The ASIC 12 which monitors the buses 11 contains a copy (in internal ROM) of the data in a portion 14 of the boot EPROM 13. When each word of data is fetched from EPROM 13 by the CPU a compare function 16 of the ASIC 12 first checks the address to see if it is within that area duplicated in the internal ROM 17, and if it is it then checks the data word that the CPU 15 is reading from the EPROM 13 against the appropriate word in the internal ROM 17. If the data is the same then the CPU 15 is using the correct data from EPROM 13, but if it is different then there is either an accidental error or deliberate tampering. In this event the ASIC 12 takes appropriate action which may include resetting the board and/or stopping other operations of the ASIC 12 internally.
AMENDED SHEE,
IPEA/AU
102243pctco.doc rMLAuUV/VuIu i Received 17 July 2001 11 In the preferred implementation the CPU address and data bus 11 are multiplexed together to reduce the number of pins used. Non-multiplexed buses may also be used.
The ASIC 12 may also contain logic to ensure that all memory locations in the monitored memory are checked. If all locations within the monitored area are not checked when an inappropriate access is made outside the monitored area the check fails and the board locks up. An inappropriate access is an instruction fetch or write cycle. Read cycles are allowed, to enable the software in the monitored region to check other parts of memory.
Two implementations of this are: The address bus 11 is monitored and a register is used to store a scanned address value location. Whenever the address from the CPU matches the value in this register the register is incremented. The memory check is complete when the address register reaches the end of the monitored memory.
A signature of address accesses may be implemented. Each address is combined in some form with the previous addresses to generate a fixed pattern. If the sequence of addresses is not the same as the original stored pattern then the check fails. For example each address may be combined using a CRC algorithm with the previous address's although preferably a more secure algorithm would be used.
Other implementations of monitored memory are possible: Instead of checking the program as it is executed the ASIC disables the EPROM and substitutes data to the CPU from its internal ROM. The ASIC thus acts as a memory device.
The ASIC reads the contents of the monitored EPROM area before the CPU exits the reset state and generates a cryptographic hash of the data.
Only if this hash matches a predefined value is the test passed.
Instead of checking the data as it is read from EPROM the ASIC reads the EPROM contents and verifies it before allowing the CPU out of the reset state.
In a variation of the above two implementations, the ASIC allows the CPU to fetch the first word of a program after exiting reset, but inserts into this read cycle the verification reads from EPROM. It is more difficult to tamper with this method as the cycles are not separated clearly.
AMENDED SHE-
IPENAU
102243pctco.doc rL, I/AUUU/I ILZ Received 17 July 2001 12 To provide further protection the monitored boot area may be read and monitored at a later time after the test has passed and game software is running. This provides protection against some forms of tampering where tampered memory is substituted for the original memory after the test passes.
This scheme is most effective with as much functionality of the board as possible implemented in the ASIC. One method of tampering is to replace the entire ASIC, but if significant other functionality is included it becomes a serious technical problem to redesign the ASIC. Additionally the more critical the ASIC is to the functioning of the board then the more difficult it is to get the board working again if the monitoring circuit disables the operation of the ASIC internally.
If the monitored memory test fails, the board and ASIC are typically reset. Alternately program execution is allowed to continue but certain features of the ASIC are disabled preventing the board be used in its full capacity. This allows the software to display appropriate errors messages (especially in the case of accidental memory errors), but effectively stops tampering having any real consequence. In the case of gaming machines, certain critical functions will also be inhibited such as software access to hardware meters 41, and inhibiting input and output of credit or the like, such as by way of the credit card reader 42 or ticket reader/writer 43.
Hashed Checked Memory The internal ROM of the ASIC is expected to be small compared to the size of the boot EPROM to reduce cost, although it could be the same size.
Alternately, and as described above, the cryptographic hash check may be embedded in the ASIC.
The size of the EPROM to be securely checked can be increased to the total size of the memory in the system without increasing the size of the ASIC internal ROM by embedding a checking program in the area of EPROM that is checked by the ASIC. The checking program generates a cryptographic hash over the entire memory area to be checked (which may include the area monitored by the ASIC) and compares it to a pre-computed value. If it matches then the entire region is assumed to be unmodified. The method relies on it being difficult to tamper with the data which is included in the hashed area while retaining the same hash value and that the ASIC monitors the program which generates and checks the hash.
AMENDED SHEE
IPEA/AU
102243pct _co.doc Received 17 July 2001 13 The advantage of this method is that the hash checking program is relatively small, and can be expected to be smaller than a comparable signature checking program. Therefore the size of the ROM in the ASIC can be reduced in size with this method.
A non-cryptographic checking algorithm may be used instead of the hash function, but algorithms such as checksum or CRC are relatively easy to tamper with and are not preferred.
The data to be checked, either directly by the ASIC or included in the hash-checked region, may include program or data. The data may include text messages such as Aristocrat Leisure Industries" or "This software is authorized by Aristocrat Leisure Industries".
Signature Checked Memory Once the initial part of the boot memory has been authorized it can then securely check the rest of the memory in the system.
The monitored memory area may use a hash mechanism to check more memory as described in the previous section or it may implement a digital signature check. The advantage with a digital signature check is in minimizing the amount of boot code that can never be changed without changing the ASIC. The advantage of a hash check is that a hash is simpler and there requires less program space for monitored memory than digital signature software.
Digital signatures are also used to authorize all other modules of software and data in the system, including System software and games. Each authorized EPROM or file has an associated digital signature which is checked. If invalid signatures are found the data will not be used and appropriate action will be taken, such as the machine locking up and displaying a message.
Figure 2 shows a schematic of a memory map in which a first section of the memory space 21 is checked by the ASIC 12, a second part of the memory space 22 is checked by a hashed code and a third part of the memory space 23 is checked by digital signature. The memory space checked by the checking software may include or exclude the area in which the checking software resides. In the example illustrated in Figure 2 the signature checked memory space23 does not encompass the memory space 21 containing the checking software (ie. the space monitored by the ASIC) but the hash checked memory space 22 does encompass the memory space 21.
AMENDED SHEt.
102243pct_co.doc
IPEAIAU
I /AUUU/U I YZ Received 17 July 2001 14 Continuous Authorization Continuous monitoring of the authenticity of software provides extra security. The memory contents are periodically rechecked to ensure that changes have not occurred.
Continuous monitoring requires a method of getting the CPU to start executing software within the monitored (or alternately hash checked, although this is not as secure) memory area. Once the CPU starts executing software within this secure area it can again perform authorization checks of the system as required. A watchdog type monitor is implemented in the ASIC which must be accessed periodically from software executing within the secured memory area otherwise the ASIC will force the system to shutdown. This transfer to secure area may be simply by software jumping to an address periodically or caused by an interrupt from the ASIC.
The ASIC must be able to detect that software is executing from the monitored area. The method used depends on the processor implementation.
For processors which support identification of external bus cycles an instruction fetch from a predefined address is used.
For processors without identification of bus cycles and also without internal cache memory a sequence of memory accesses is detected that may only be generated by software executing within the monitored area.
For CPU without bus cycle identification and also with cache it may not be possible to guarantee detection of monitored area software execution.
Tampering could take place by execution of software within the cache so that external cycles appeared to be the correct software accesses.
An alternate method of guaranteeing execution within monitored memory is to periodically reset the CPU. In this implementation the CPU is able to be reset separately from the rest of the system. Prior to being reset, the CPU saves it's operational state in memory for restoration after the authentication checks have been completed. After the ASIC has reset the CPU then the CPU must be executing from monitored memory. A flag in the ASIC indicates the cause of the reset so the CPU knows whether to execute cold start reset code or continuous monitoring code. While the CPU is in the reset state the ASIC checks the state of the relevant pins to ensure that the CPU actually has been reset. In the preferred implementation the ASIC contains a timer which is initialized after each reset and which locks up the AMENDED 102243pct_co.doc
IPENAU
rL IAAUUU/U I I L Received 17 July 2001 board when it reaches a predefined count. The timer would require that the CPU be reset every five minutes for example. Periodically and at least less than every 5 minutes the system software saves the system state and instructs the ASIC to reset the CPU and also timer. The system software can choose a point in its operation where a slight delay while the CPU resets is not noticeable. Alternately the ASIC generates an interrupt periodically which the system software responds to by saving the CPU state and then the CPU resets.
These authentication checks are as described in the rest of the document. The authentication check can be divided into a number of these execution periods to divide the CPU loading over time. In this case the check software may need to store information between the periods (such as the last memory location checked). Although this data may be stored in RAM, it is accessible by any software running on the machine and could be tampered with. Preferably the ASIC implements some RAM only accessible from by software running within the monitored memory area.
One possible method of tampering is to find start execution of code within the monitored area, which was not intended as a start address for the routine and which has side effects unintended by the system programmers.
This side effect would access the flag in the ASIC without running the security check. On method of preventing this is to implement an address signature check as described for "ASIC Monitored Memory". A significant section of code must be executed correctly for the signature to be correct and it must be from the correct address. Many other methods are possible.
One method of tampering with the system is to allow the correct boot code to be executed after reset and during authentication, then at an appropriate point map into the program memory a new section of code (eg. in hardware swap EPROMS with a multiplexer circuit). This memory automatically mapped in an out of memory space depending on where program execution is being performed. The authentication check reads the original data and passes, but when control is passed elsewhere a different program is executed. To prevent this attack, at a random time the ASIC reads from the CPU data bus the instruction fetched from memory, and stores it in a register together with the address from which it was read. When the periodic authentication check is performed it reads these registers and compares them with the data it reads from the same location. If the data is different then AMENDED bHt:-
IPENAIAU
102243pct_co.doc Received 17 July 2001 16 tampering has taken place. This test will eventually, at a random time, detect tampering. To speed up this test more than one data location may be sampled. Because it may take some time before tampering is detected it is preferable that when tampering is detected this information is stored so that the machine cannot be used until this condition is acknowledged by the operator and fixed. It should be stored in non-volatile memory, and preferably non-erasable memory.
True random number generation is not usually feasible in an ASIC and instead pseudo-random numbers are typically used instead. The pseudorandom number may be randomized further by combining it with some external information, such as the contents of the data or address bus.
An alternate method is to use DMA or bus mastering by the ASIC to automatically read the contents of memory and verify the data. This method is most suitable for the boot code, as the complexity of the design for more equivalent functionality to that easily achieved in secure software to very high although it is possible.
External Memory Verification In the gaming market regulators often require that the contents of programmed memory be externally verifiable. This traditionally has been via reading the programmed chip in a commercial device programmer, however it is preferable if this can be performed without removing the device from the board especially if it has been assembled in such a was that make this difficult (eg. surface mount assembly).
There are several methods of allowing the memory contents to be read: 0 A CPU In-circuit emulator is attached to the board and the device memory contents read via the emulator. An automated verification package may be constructed which automatically drives the emulator to read and compare memory images without providing the full functionality or complexity of an In-Circuit Emulator.
0 The ASIC incorporates logic which dumps the system memory contents to an external port. In one implementation, when requested by asserting a pin on the ASIC during power up, it holds the board in reset, reads the memory contents and transmits it via a serial port to a PC.
SThe software responds to requests from the machine serial port to dump memory contents to the serial port. Given the authentication built into the machine the data is trusted to be correct. However it is preferable that the AMENDED bnri=.
102243pctco.doc
IPEAAU
S t. ZlL Received 17 July 2001 17 software to perform this function is as secure from any form of tampering as possible, and so is either in monitored memory or hash checked memory. Code which changes often is less secure as there is more chance that the security procedure may be compromised.
Software Development Software development requires that engineers be able to run any code they wish on the gaming machine. It is not desirable to allow software engineers to sign their code with the real product keys, as security would be quickly compromised.
Several methods of allowing software development are possible: Another version of the gaming machine CPU board exists without security. It is only used for internal development and never into the field.
Developers sign their software with a different key to that used for finished software. The authorization software in the machine detects this developer key and either displays a message to the player, gaming machine operator, service technician, etc, or disables some key features of the product.
Where a special non-secure version of the CPU board exists without security care must be taken that it is not feasible to convert the secure version into the non-secure version. Methods to accomplish this are: Two versions of the ASIC are produced, with and without security.
Only a limited number a made without security and distribution of these is carefully controlled. If they are manufactured in a different physical IC package they may be visibly different or require different PCB designs.
The ASIC has a pin which disables the security features. For production parts the ASIC is shipped with this pin internally unconnected in the ASIC package, so that security is enabled. As a security screening mechanism it is possible to detect if security is enabled, either via software or ATE board test.
The security of the ASIC is enabled by an external feature of the board that is difficult to tamper with. For example if the ASIC is in a BGA package, several pins must be connected to disable security. When the PCB is manufactured without these tracks it would be very difficult to modify the board to reconnect the pins.
AMENDED itQ:;
IPENAU
102243pct_co.doc F- I, ,rXUVVI L 1.1A.
Received 17 July 2001 18 An FPGA without the security feature is substituted for the ASIC. The FPGA requires an external configuration EPROM. On boards with the ASIC the connections to the configuration EPROM may be removed either by design of the PCB or scratching or drilling some of the connections on the board. It becomes technically difficult to modify a board with ASIC to have a FPGA and also it is very noticeably different.
Methods of Tampering The security of ASIC monitoring of memory relies on the difficulty of modifying the ASIC. This is exceptionally difficult compared to the 'normal' method of tampering with the EPROM.
Several methods of attack are possible: Modifying the ASIC to impair security. The checking logic may be changed or removed. A new ASIC may be designed without the checking circuit or with a checking circuit that does not operate in the correct manner. The data in the ASIC ROM used for monitoring comparison may be modified.
The board may be modified to cause the ASIC to monitor the correct data while the CPU is executing different data. In the worst case this need only happen for as little as one read cycle to cause the monitoring to fail.
Multigame The Multigame authorization system allows games to be used only on the system for which they are authorized. The System program confirms the authorization of the game before it is allowed to be used.
Preferably game authorization comprises one or more of the following steps: The header section of the game memory is checked to confirm that it is an appropriate game (eg. not another system EPROM incorrectly used, has valid version numbers, etc).
The game header is checked for the legal authorization message.
The game header checksum or CRC is checked to ensure memory integrity.
If the games are digitally signed, then the digital signature(s) are validated.
The authorization of the game to run on this particular gaming machine is checked.
AMENDED SHEFki
IPEA/AU
102243pctco.doc _r I I r\vvvw v A Received 17 July 2001 19 If the authorization fails the gaming machine may either continue without allowing that game to be used, stop and ask the operator to remove the game from the machine, or run that game only in demonstration mode.
Preferably each gaming machine contains a unique identification number which the CPU can read and use as part of the authorization code.
This can be implemented using a Dallas Semiconductor serial identification chip (eg. DS2401).
Games may be signed with DEMO key which runs in the game in a limited mode and displays an appropriate message on the screen. The limited mode may prevent the machine accepting or paying out money or updating critical auditing information.
EEPROM Authorization An authorization message is created using by applying a digital signature to a message composed of the unique Game Identifier, a unique Gaming Machine identifier and any usage restrictions that may be required (eg. date restriction on game operation). The signature is generated in a secure environment and sent to the gaming machine where it is stored in non-volatile memory for later use.
The secure environment may be: Within a smartcard. A service technician or operator may authorize the game to run on the machine by connecting the smartcard to the machine where the game is installed. To limit accidental or deliberate fraud the smartcard preferably contains a limit on the number of games that can be authorized. The smartcard may be inserted into a special purpose interface on the gaming machine, a general purpose interface such as is used for player marketing cards or via a PC and communication interface (eg. RS232 or Ethernet) with a smartcard reader.
The gaming machine supplier may generate the authorization key and supply it to the service technician/operator for entry into the gaming machine.
The authorizations may be encoded into removable EEPROM chip which is supplied to the operator with the new games.
Smartcard Authorization The gaming machine has a smartcard interface which is used to authorize a game to run. The games are authorized for a limited period and the smartcard must always be present in the machine. When the smartcard is AMENDE.I
IPENAU
102243pct_co.doc r% I UvvUI v 1 17, Received 17 July 2001 removed the machine detects this within a reasonable period of time and stops the games running. This prevents a single smartcard be used to authorize games on multiple machines.
The advantage of the smartcard is this application is that it will not be possible to make a copy and that it can contain restrictions on game usage.
To authorize a game, the gaming machine sends an authorization request message to the smartcard containing the game ID. The smartcard responds with a message either allowing the game or not and the smartcard is also verified as being allowed to authorize games. Preferably the smartcard uses digital signatures to sign a game authorization message. The gaming machine contains the signature public key and can therefore both check the message and the smartcard.
It will be appreciated by persons skilled in the art that numerous variations and/or modifications may be made to the invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.
AMENDED br.ic
IPENAAU
102243pct_co.doc

Claims (88)

1. A boot program security system associated with a platform for software execution, wherein the security system verifies an executable boot program to be executed on the platform and which contains basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the executable boot program, boot program memory means in which the executable boot program is stored, and address bus means and data bus means which provide communication between the processor means and the boot program memory means, the security system including boot checking memory means, comparison means, and software monitoring means to monitor addresses expressed on the address bus means by the processor means, the software S monitoring means being responsive to addresses on the address bus corresponding to locations in which a secure portion of the executable boot program is stored, to read data expressed on the data bus means by the boot program memory means and representing words of the executable boot program being verified, providing the data read from the data bus to the comparison means for comparison with corresponding data in the boot 20 checking code memory means and if the data does not match, producing a signal to indicate an abnormal condition. ooo
2. The system of claim 1 wherein the boot checking code memory means, the comparison means, and the software monitoring means are implemented in a logic circuit. 25 3. The system of claim 2 wherein the logic circuit is an Application Specific Integrated Circuit (ASIC).
4. The system of claim 2 wherein the special purpose integrated circuit, is a Field Programmable Gate Array (FPGA). The system of claim 2, 3, or 4 wherein the boot checking code memory means comprises a ROM which is included in the logic circuit.
6. The system as claimed in any one of claims 2 to 5 wherein, when an abnormal condition is indicated, the function of otherwise unrelated parts of the logic circuit are altered.
7. The system as claimed in any one of claims 2 to 5 wherein, when an abnormal condition is indicated, the logic circuit resets the processor means.
8. The system as claimed in any one of claims 2 to 5 wherein, when an abnormal condition is indicated, the logic circuit prevents software access to sensitive functions of the platform.
9. The system as claimed in claim 8 wherein, when an abnormal condition is indicated, the logic circuit permits program segments relating to non-sensitive functions to continue to run, whereby information may be given to a user about the abnormal condition. The system as claimed in claim 8 wherein the platform is a gaming console and the sensitive functions comprise game operation, metering of console parameters, credit input and credit output.
11. The system as claimed in any one of claims 1 to 10 wherein, the secure portion of the executable boot program checked by the logic circuit contains a checking program which performs a software security check of a first further block of memory and if the security check fails the boot program prevents program code or data in the security checked block of memory from being used by the platform.
12. The system as claimed in claim 11 wherein the software security check is performed using a secure hash checking program.
13. The system as claimed in claim 11 or 12 wherein, the block of memory checked by the software security check contains a digital signature checking program which performs a digital signature check of a second further block of memory and if the digital signature check fails the boot program prevents program code or data in the digital signature checked second block of memory from being used by the platform.
14. The system as claimed in claim 11 wherein the software security check is performed using a digital signature checking program. The system as claimed in claim 11, 12, 13 or 14 wherein the first further block of memory checked by the checking program includes a part of the boot program memory in which the secure portion of the executable boot program is stored.
16. The system as claimed in claim 11, 12, 13 or 14 wherein the first further block of memory checked by the checking program does not include a part of the boot program memory in which the secure portion of the executable boot program is stored.
17. The system as claimed in any one of claims 1 to 16 wherein, the logic circuit periodically reads from the data bus means data representing an instruction fetched from the boot program memory means, and stores it in a register together with the address from which it was read and subsequently compares the data in the register with the corresponding data read during the verification process and if the data does not match an abnormal condition is indicated.
18. The system of claim 17 wherein, when an abnormal condition is indicated, the platform is prevented from operating until the condition is acknowledged by an operator and corrected.
19. The system of claim 17 or 18 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non-volatile memory.
20. The system of claim 19 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non-erasable memory.
21. The system as claimed in any one of claims 1 to 20 wherein, the logic circuit includes connection means to allow removable connection to the platform for external verification of the secure program.
22. The system as claimed in claim 21 wherein the logic circuit acts as an In-Circuit Emulator (ICE) for the processor means when it is attached to the platform and data stored in the boot program memory means are read via the ICE.
23. The system as claimed in claim 21 wherein the logic circuit incorporates logic which dumps the system memory contents to an external port.
24. The system as claimed in claim 21 wherein, the logic circuit, when requested by asserting a pin on the logic circuit during power up, holds the processor means in a reset state, reads the memory contents and transmits it via a serial port to a personal computer. The system as claimed in claim 21 wherein, the logic circuit responds to requests from a serial port of the platform to dump memory contents to the serial port.
26. A boot program security system associated with a platform for software execution, wherein the security system overrides code fetches when a secure portion of a boot program is being executed on the platform, the boot program containing basic components of a platform operating system which perform a security validation of other software components and authorizes their r execution on the platform, the platform including processor means for executing the programs, memory means in which the executable programs are stored and address bus means and data bus means which provide communication between the processor means and the memory means, the security system including secure boot program memory means, and software monitoring means to monitor addresses expressed on the address bus means by the processor means, the software monitoring means being responsive to addresses on the address bus corresponding to address locations allocated to the secure portion of boot program to read the corresponding locations of the secure boot program memory means and to pass the data read from the secure boot program memory means to the processor means for execution.
27. The system of claim 26 wherein the secure boot program memory means, and software monitoring means are implemented in a logic circuit.
28. The system of claim 26 wherein the logic circuit is an Application Specific Integrated Circuit (ASIC).
29. The system of claim 27 wherein the special purpose integrated circuit, is a Field Programmable Gate Array (FPGA). The system of claim 27, or 28, or 29 wherein the secure boot program memory means comprises a ROM which is included in the logic circuit. 20 31. The system as claimed in any one of claims 27 to 30 wherein, when an abnormal condition is indicated, the function of otherwise unrelated parts of the logic circuit are altered.
32. The system as claimed in any one of claims 27 to 30 wherein, when an *2.abnormal condition is indicated, the logic circuit resets the processor means. 0e0 25 33. The system as claimed in any one of claims 28 to 30 wherein, when an abnormal condition is indicated, the logic circuit prevents software access to sensitive functions of the platform.
34. The system as claimed in claim 33 wherein, when an abnormal condition is indicated, the logic circuit permits program segments relating to non-sensitive functions to continue to run, whereby information may be given to a user about the abnormal condition. The system as claimed in claim 33 wherein the platform is a gaming console and the sensitive functions comprise game operation, metering of console parameters, credit input and credit output.
36. The system as claimed in any one of claims 26 to 35 wherein, the secure portion of the executable boot program stored in the secure boot program memory means contains a checking program which performs a software security check of a first further block of memory and if the security check fails the boot program prevents program code or data in the security checked block of memory from being used by the platform.
37. The system as claimed in claim 36 wherein the software security check is performed using a secure hash checking program.
38. The system as claimed in claim 36 or 37 wherein, the block of memory checked by the software security check contains a digital signature checking program which performs a digital signature check of a second further block of memory and if the digital signature check fails the boot program prevents program code or data in the digital signature checked second block of memory from being used by the platform.
39. The system as claimed in claim 36 wherein the software security check is performed using a digital signature checking program. 15 40. The system as claimed in claim 36, 37, 38, or 39 wherein the first further block of memory checked by the checking program includes the secure boot program memory means in which the secure portion of the executable boot program is stored.
41. The system as claimed in claim 36, 37, 38, or 39 wherein the first S 20 further block of memory checked by the checking program does not include ".the secure boot program memory means in which the secure portion of the executable boot program is stored.
42. The system as claimed in any one of claims 26 to 41 wherein, the logic circuit periodically reads from the data bus means data representing an 25 instruction fetched from the secure boot program memory means, and stores it in a register together with the address from which it was read and subsequently compares the data in the register with the corresponding data in the secure boot program memory means and if the data does not match an abnormal condition is indicated.
43. The system of claim 42 wherein, when an abnormal condition is indicated, the platform is prevented from operating until the condition is acknowledged by an operator and corrected.
44. The system of claim 42 or 43 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non-volatile memory. The system of claim 44 wherein, an abnormal condition is stored in non-erasable memory.
46. A boot program security system associated with a platform for software execution, wherein the security system verifies an executable boot program to be executed on the platform and which contains basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the executable boot program, boot program memory means in which the executable boot program is stored, and address bus means and data bus means which provide communication between the processor means and the boot program memory means, the security system including boot checking memory means, comparison means, and software reading means to read data from the boot program memory means corresponding to a secure portion of the executable boot program and providing the data read from the boot program memory means to the comparison means for comparison with corresponding data in the boot checking code memory means and, if the data does not match, producing a signal to indicate an abnormal condition.
47. The system of claim 46 wherein the logic circuit compares the memory 20 while the processor means is in a reset state.
48. The system of claim 46 wherein the logic circuit compares the memory while the processor means is in a halt state.
49. The system of claim 46, 47, or 48 wherein the boot checking code memory means, the comparison means, and the software reading means are implemented in a logic circuit. The system of claim 49 wherein the logic circuit is an Application Specific Integrated Circuit (ASIC).
51. The system of claim 49 wherein the logic circuit, is a Field Programmable Gate Array (FPGA).
52. The system of claim 50, or 51 wherein the boot checking code memory means comprises a ROM which is included in the logic circuit.
53. The system as claimed in any one of claims 49 to 52 wherein, when an abnormal condition is indicated, the function of otherwise unrelated parts of the logic circuit are altered.
54. The system as claimed in any one of claims 49 to 52 wherein, when an abnormal condition is indicated, the logic circuit resets the processor means. S. ogo oo oooS oo... ooooo 0 The system as claimed in any one of claims 49 to 54 wherein, when an abnormal condition is indicated, the logic circuit prevents software access to sensitive functions of the platform.
56. The system as claimed in claim 55 wherein, when an abnormal condition is indicated, the logic circuit permits program segments relating to non-sensitive functions to continue to run, whereby information may be given to a user about the abnormal condition.
57. The system as claimed in claim 56 wherein the platform is a gaming console and the sensitive functions comprise game operation, metering of console parameters, credit input and credit output.
58. The system as claimed in any one of claims 46 to 57 wherein, the secure portion of the executable boot program checked by the logic circuit contains a checking program which performs a software security check of a first further block of memory and if the security check fails the boot program prevents program code or data in the security checked block of memory from being used by the platform.
59. The system as claimed in claim 58 wherein the software security check is performed using a secure hash checking program. The system as claimed in claim 58 or 59 wherein, the block of memory 20 checked by the software security check contains a digital signature checking program which performs a digital signature check of a second further block of memory and if the digital signature check fails the boot program prevents program code or data in the digital signature checked second block of memory from being used by the platform.
61. The system as claimed in claim 58 wherein the software security check is performed using a digital signature checking program.
62. The system as claimed in claim 58, 59, 60, or 61 wherein the first further block of memory checked by the checking program includes a part of the boot program memory in which the secure portion of the executable boot program is stored.
63. The system as claimed in claim 58, 59, 60, or 61 wherein the first further block of memory checked by the checking program does not include a part of the boot program memory in which the secure portion of the executable boot program is stored.
64. The system as claimed in any one of claims 46 to 63 wherein, the logic circuit periodically reads from the data bus means data representing an S. 55 S 5 23/09 04 THU 16:34 FAX 61 2 9810 8200 FBRC I04 FB RICE Z004 28 instruction fetched from the boot program memory means, and stores it in a register together with the address from which it was read and subsequently compares the data in the register with the corresponding data read during the verification process and if the data does not match an abnormal condition is indicated. The system of claim 64 wherein, when an abnormal condition is indicated, the platform is prevented from operating until the condition is acknowledged by an operator and corrected.
66. The system of claim 64 or 65 wherein, when an abnormal condition is in indicated, data indicative of the abnormal condition is stored in non-volatile memory.
67. The system of claim 66 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non-erasable memory.
68. The system as claimed in any one of claims 46 to 67 wherein, the logic circuit includes connection means to allow removable connection to the platform for external verification of the secure program.
69. The system as claimed in claim 68 wherein the logic circuit acts as an In-Circuit Emulator (ICE) for the processor means when it is attached to the platform and data stored in the boot program memory means are read via the ICE. The system as claimed in claim 68 wherein the logic circuit incorporates logic; which dumps the system memory contents to an external port.
71. The system as claimed in claim 69 wherein, ihe logic circuit, when requested by asserting a pin on the logic circuit during power up. holds the processor means in a reset state, reads the memory contents and transmits it via a serial port to a personal computer.
72. The system as claimed in claim 69 wherein, thie logic circuit responds to requests from a serial port of the platform to dump memory contents to the serial port. *73. A method of verifying an executable boot program associated with a :platform for software execution, the boot program being for execution on the platform and containing basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform. the platform including processor COMS IDNo: SBMI-00926860 Received by IP Australia: Time 15:47 Date 2004-09-23 23/09 04 THU 16:35 FAX 61 2 9810 8200FERC FB RICE [a 00.5 29 means for executing the executable boot program, boot program memory means in which the executable boot program is stored, and address bus means and data bus means which provide communication between the processor means and the boot program memory means, a verification system including boot checking memory means, comparison means, and software monitoring means and the method including the steps of, the software monitoring means monitoring addresses expressed on the address bus means by the processor means, the software monitoring means being responsive to addresses on the address bus corresponding to locations in which a secure portion of the executable hoot program is stored, to read data expressed on the data bus means by the boot program memory means and representing words of the executable boot program being verified, and providing the data read from the data bus to the comparison means, the comparison means comparing the data read from the data bus with corresponding data in the boot checking code memory means, and if the data does not match, Lbe comparison means producing a signal to indicate an abnormal condition.
74. The method of claim 73 wherein the boot checking code memory means, the comparison means, and the software monitoring means are implemented in a logic circuit. The method of claim 74 wherein the logic circuit is an Application Specific Integrated Circuit (ASIC). :76. The method of claim 74 wherein the special purpose integrated circuit, C25 is a Field Programmable Gate Array (FPGAJ.
77. The method of claim 74, 75, 76, wherein the boot checking code memory means comprises a ROM which is included in the logic circuit (supplies the data to the CPU).
78. Thle method as claimed in any one of claims 74 to 77 wherein, when an abnormal condition is indicated, the function of otherwise unrelated parts of the logic circuit are altered.
79. The method as claimed in any one of claims 74 to 77 wherein, when an :abnormal condition is indicated, the logic circuit resets the processor means. :80. The method as claimed in any one of claims 74 to 7lwherein, when an 35 abnormal condition is indicated, the logic circuit prevents software access to x. sensitive functions of the platform. COMS ID No: SBMI-00926860 Received by IP Australia: Time (I-tm) 15:47 Date 2004-09-23 23/09 04 THUL 16:35 FAX 81 2 9810 8200FBRC00 FS RICE 0006
81. The method as claimed in claim 80 wherein,, when an abnormal condition is indicated, the logic circuit permits program segments relating to non-sensitive functions to continue to run, whereby information may be given to a user about the abnormal condition.
82. The method as claimed in claim 80 wherein the platform is a gaming console and the sensitive functions comprise game operation, metering of console parameters, credit input and credit output.
83. The method as claimed in any one of claims 73 to 82 wherein, the secure portion of the executable boot program checked by the logic circuit contains a checking program which performs a software security check of a first further block of memory and if the security check fails the boot program prevents program code or data in the security checked block of memory from being used by the platform.
84. The method as claimed in claim 83 wherein the software security is check is performed using a secure hash checking program. The method as claimed in claim 83 or 84 wherein, the block of memory checked by the software security check contains a digital signature checking programn which performs a digital signature check of a second further block of memory and if the digital signature check fails the boot program prevents program code or data in the digital signature checked second block of memory from being used by the platform. The meothod as claimed in claim 83 wherein the software security check is performed using a digital signature checking program.
87. The method as claimed in claim 83, 84, 85 or 86, wherein the first 23 further block of memory checked by the checking program includes a part of the boot program memory in which the secure portion of the executable boot program is stored.
88. The method as claimed in claim 83, 84, 85 or 86, wherein the first further block of memory checked by the checking program does not include a part of the boot program memory in which the secure portion of the executable boot program is stored.
89. The method as claimed in any one of claims 73 to 88 wherein, the logic :circuit periodically reads from the data bus means data representing an instruction fetched from the boot program memory means, and stores it in a 35 register together with the address from which it was read and subsequently C compares the data in the register with the corresponding data read during the COMS ID No: SBMI-00926860 Received by IP Australia: Time 15:47 Date 2004-0-23 23/09 04 THU 18:35 FAX 81 2 9810 8200 F IEII0 FB RICE 0007 31 verification process and if the data does not match an abnormal condition is indicated. The method of claim 89 wherein, when an abnormal condition is indicated, the platform is prevented from operating until the condition is acknowledged by an operator and corrected.
91. The method of claim 89 or 90 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non-volatile memory.
92. The method of claim 91 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non-erasable memory.
93. The method as claimed in any one of claims 73 to 92 wherein, the logic circuit includes connection means to allow removable connection to the platform for external verification of the secure program.
94. The method as claimed in claim 93 wherein the logic circuit acts as an In-Circuit Emulator (ICE) for the processor means when it is attached to the platform and data stored in the boot program memory means are read via the ICE. The method as claimed in claim 93 wherein the logic circuit incorporates logic which dumps the system memory contents to an external port. 0% 96. The method as claimed in claim 93 wherein, the logic circuit, when requested by asserting a pin on the logic circuit during power up, holds the processor means in a reset state, reads the memory contents and transmits it via a serial port to a personal computer.
97. The method as claimed in claim 93 wherein, the logic circuit responds trequests from a serial port of the platform to dump memory contents to the foe. serial port.
98. A method of running a boot program on a platform for software execution in a secure manner by overriding code fetches when a secured portion of the boot program is being executed on the platform, the boot program containing basic components of a platform operating system which C C Cperform a security validation of other software components and authorizes their execution on the platform, the platform including processor mneans for C 35 executing the programs, memory means in wh~ich the executable programs are stored and address bus means and data bus means which provide COMS ID Na:SBMI-00926880 Received by IP Australia: Time 15:47 Date 2004-09-23 23/09 04 THU 16:36 FAX 61 2 9810 8200FBRC J00 FB RICE Q 008 32 communication between the processor means and the memory means, and a security system including secure boot program memory means, and software monitoring means to monitor addresses expressed on the address bus means by the processor means, the method comprising the steps of, monitoring addresses on the address bus and detecting addresses corresponding to address locations allocated to the secure portion of boot program, reading the corresponding locations of the secure boot program memory means, and passing the data read from the secure boot program memory means to the processor means for execution.
99. The method of claim 98 wherein the secure boot program memory means, and software monitoring means are implemented in a logic circuit.
100. The method of claim 98 wherein the logic circuit is an Application Specific Integrated Circuit (ASIC).
101. The method of claim 99 wherein the special purpose integrated circuit, is a Field Programmable Gate Array (FPGA).
102. The method of claim 99, 100 or 101, wherein the secure boot program memory mneans comprises a ROM which is included in the logic circuit.
103. The method as claimed in any one of claims 99 to 102 wherein, when an abnormal condition is indicated, the function of otherwise unrelated parts of the logic circuit are altered.
104. The method as claimed in any one of claims 99 to 102 wherein, when an abnormal condition is indicated, the logic circuit resets the processor 25 means.
105. The method as claimed in any one of claims 99 to 102 wherein, when an abnormal condition is indicated, the logic circuit prevents software access to sensitive functions of the platform.
106. The method as claimed in claim 105 wherein, when an abnormal condition is indicated, the logic circuit permits program segments relating to non-sensitive functions to continue to run, whereby information may be given to a user about the abnormal condition, 0# 107. The method as claimed in claim 105 wherein the platform is a gaining console and the sensitive functions comprise game operation, metering of Vt '6 35 console parameters, credit input and credit output. COMS ID No: SBMI-00926860 Received by IP Australia: Time 15:47 Date 2004-09-23 23/09 04 THU, 16:36 FAX 61 2 9810 8200 ERC09 FB RICE (a 009 33
108. The method as claimed in any one of claims 98 to 107 wherein, the secure portion of the executable boot program Btored in the secure boot program memory means contains a checking program which performs a software security check of a first further block of memory and if the security check fails the boot program prevents program code or data in the security checked block of memory from being used by the platform.
109. The method as claimed in claim 108 wherein the software security check is performed using a secure bash checking program.
110. The method as claimed in claim 108 or 109 wherein, the block of memory checked by the software security check contains a digital signature checking program which performs a digital signature check of a second further block of memory and if the digital signature check fails the boot program prevents program code or data in the digital signature checked second block of memory from being used by the platform.
111. The method as claimed in claim 110 wherein the software security check is performed using a digital signature checking program.
112. The method as claimed in claim 108, l09, 110 or i1l, wherein the first further block of memory checked by the checking program includes the secure boot program memory means in which the secure portion of the executable boot program is stored.
113. The method as claimed in claim 108, 109, 110 or 111, wherein the first further block of memory checked by the checking program does not include 0% 0 the secure boot program memory means in which the secure portion of the executable boot program is stored. 25 114. The method as claimed in any one of claims 98 to 113 wherein, the ,,.logic circuit periodically reads from the data bus means data representing an instruction fetched from the secure boot program memory means, and stores it in a register together with the address from which it was read and subsequently compares the data in the resister with the corresponding data in the secure boot program memory means and if the data does not match an abnormal condition is indicated.
1153. The method of claim 114 wherein, when an abnormal condition is indicated, the platform is prevented from operating until the condition is acknowledged by an operator and corrected. COMS ID No: SBMI-00926860 Received by IP Australia: Time 15:47 Date 2004-09-23 23/09 04 THU 16:36 FAX 81 2 9810 8200 F IELii FB RICE [a 010 34 116. The method of claim 114 or 115 wherein, when an abnormal condition Is Indicated, data indicative of the abnormal condition is stored in non- volatile memory. 117. The method of claim 116 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non-erasable memory. 118. A method of verifying an executable boot program associated with a platform for software execution, the boot program being for execution on the platform and containing basic components of a platform operating system which perform a security validation of other software components and authorizes their execution on the platform, the platform including processor means for executing the executable boot program, boot program memory means in which the executable boot program is stored, and address bus means and data bus means which provide communication between the processor means and the boot program memory means, and a security system including boot checking inemory means, comparison means, and software reading means, the method comprising the steps of, reading data from the boot program memory means corresponding to a secure portion of the executable boot program, providing the data read from the boot program memory means to the comparison means, comparing the data read from the boot program memory means with 6% 0 corresponding data in the boot checking code memory means, and if the data does not match, producing a signal to indicate an1 abnormal condition. :119. The method of claim 118 wherein the logic circuit compares the :memory while the processor ineans is in a reset state. 120. The method of claim 118 wherein the logic circuit compares the memory while the processor means is in a halt state. 121. The method of claim 118, 119 or 120, wherein the boot checking code memory means, the comparison means, and the software reading means are implemented in a logic circuit. 122. The method of claim 121 wherein the logic circuit is an Application Specific Integrated Circuit (ASIC). 123. The method of claim 121 wherein the special purpose integrated circuit, is a Field Programmable Gate Array (FPGA). COMS ID No: SBMI-00926a60 Received by IP Australia: Time 15:47 Date 2004-09-23 23/09 04 TFL! 16:37 FAX 61 2 9810 8200 F IEII1 FB RICE 0011 124. The method of claim 121, 122 or 123, wherein the boot checking code memory means comprises a ROM which is included in the logic circuit. 125. The method as claimed in any one of claims 121 to 124 wherein, when on abnormal condition is indicated, the function of otherwise unrelated parts of the logic circuit are altered. 126. The method as claimed in any one of claims 121 to 124 wherein, when an abnormal condition is indicated, the logic circuit resets the processor means. 127. The method as claimed in any one of claims 121 to 124 wherein, when an abnormal condition is indicated, the logic circuit prevents software access to sensitive functions of the platform. 128. The method as claimed in claim 127 wherein, when an abnormal condition is indicated, the logic circuit permits program segments relating to non-s ensitive functions to continue to run, whereby information may be given to a user about the abnormal condition. 129. The method as claimed in claim 127 wherein the platform is a gaming console and the sensitive functions comprise game operation, metering of console parameters, credit input and credit output. 130. The method as claimed in any one of claims 118 to 129 wherein, the secure portion of the executable boot program checked by the logic circuit contains a checking program which performs a software security check of a first further block of memory and if the security check fails the boot program :iI 25 prevents program code or data in the security checked block of memory from being used by the platform. 131. The method as claimed in claim 130 wherein the software security check is performed using a secure hash checking program. 132. The method as claimed in claim 130 or 131 wherein, the block of memory checked by the software security check contains a digital signature checking program which performs a digital signature check of a second further block of memory and if the digital signature chock fails the boot program prevents program code or data in the digital signature checked second block of memory from being used by the platform. 133. The method as claimed in claim 130 wherein the software security check is performed using a digital signature checking program. 134. The system as claimed in claim 130, 131, 132 or 133, wherein the first further block of memory checked by the checking program includes a part of COMS ID No: SBMI-00928860 Received by 1P Australia: Time 15:47 Date 2004-09-23 23/09 04 THU 16:37 FAX 61 2 9810 8200 F IEIl1 FB RICE (a 012 36 the boot program memory in which the secure portion of the executable boot program is stored. 135. The method as claimed in claim 130, 131, 132 or 133. wherein the first further block of memory checked by the checking program does not include a part of the boot program memory in which the secure portion of the executable boot program is stored. 1.36. The method as claimed in any one of claims 118 to 135 wherein, the logic circuit periodically reads from the data bus means data representing an instruction fetched from the boot program memory means, and stores it in a register together with the address from which it was read anad subsequently compares the data in the register with the corresponding data read during the verification process and if the data does not match an abnormal condition is indicated. 137. The method of claim 136 wherein, when an abnormal condition is indicated, the platform is prevented from operating until the condition is acknowledged by an operator and corrected. 138. The method of claim 136 or 137 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non- volatile memory. 139. The method of claim 138 wherein, when an abnormal condition is indicated, data indicative of the abnormal condition is stored in non-erasable memory. 140. The method as claimed in any one of claims 118 to 139 wherein, the logic circuit includes connection means to allow removable connection to the platform for external verification of the secure program. 141. The method as claimed in claim 140 wherein the logic circuit acts as an In-Circuit Emulator (ICE) for the processor means when it is attached to the platform and data stored in the boot program memory means a-re read via the ICE. 142. The method as claimed in claim 140 wherein the logic circuit incorporates logic which dumps the system memory contents to an external port. 143. The method as claimed in claim 140 wherein, the logic circuit, when requested by asserting a pin on the logic circuit during power up. holIds tbe processor means in a reset state, reads the memory contents and transmits it via a serial port to a personal computer. COMS ID Na:SBMI-00926860 Received by IP Australia: Time 15:47 Date 2004-09-23 23/09 04 THU 16:37 FAX 61 2 9810 8200 FB RICE [a013 37 144. The method as claimed in claim 140 wherein, the logic circuit responds to requests from a serial port of the platform to dump memory contents to the serial port. 145. A boot program security system substantially as hereinbefore described with reference to the accompanying drawings. 146. The method as claimed in claim 73, substantially as hereinbefore described. Dated this twenty third day of September 2004 ARISTOCRAT TECHONLOGIES AUSTRALIA PTY LTD Patent Attorneys for the applicants: F B RICE CO *S S S S S S S S SO S 5* S S S 5 **e *o o* COMS ID No: SBMI-00926860 Received by IP Australia: Time 15:47 Date 2004-09-23
AU78884/00A 1999-09-30 2000-09-29 Gaming security system Expired AU778171B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU78884/00A AU778171B2 (en) 1999-09-30 2000-09-29 Gaming security system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
AUPQ3216A AUPQ321699A0 (en) 1999-09-30 1999-09-30 Gaming security system
AUPQ3216 1999-09-30
AU78884/00A AU778171B2 (en) 1999-09-30 2000-09-29 Gaming security system
PCT/AU2000/001192 WO2001024012A1 (en) 1999-09-30 2000-09-29 Gaming security system

Publications (2)

Publication Number Publication Date
AU7888400A AU7888400A (en) 2001-04-30
AU778171B2 true AU778171B2 (en) 2004-11-18

Family

ID=25639056

Family Applications (1)

Application Number Title Priority Date Filing Date
AU78884/00A Expired AU778171B2 (en) 1999-09-30 2000-09-29 Gaming security system

Country Status (1)

Country Link
AU (1) AU778171B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5643086A (en) * 1995-06-29 1997-07-01 Silicon Gaming, Inc. Electronic casino gaming apparatus with improved play capacity, authentication and security
EP0849657A1 (en) * 1996-12-18 1998-06-24 NCR International, Inc. Secure data processing method and system
US5802592A (en) * 1996-05-31 1998-09-01 International Business Machines Corporation System and method for protecting integrity of alterable ROM using digital signatures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5643086A (en) * 1995-06-29 1997-07-01 Silicon Gaming, Inc. Electronic casino gaming apparatus with improved play capacity, authentication and security
US5802592A (en) * 1996-05-31 1998-09-01 International Business Machines Corporation System and method for protecting integrity of alterable ROM using digital signatures
EP0849657A1 (en) * 1996-12-18 1998-06-24 NCR International, Inc. Secure data processing method and system

Also Published As

Publication number Publication date
AU7888400A (en) 2001-04-30

Similar Documents

Publication Publication Date Title
US9026802B2 (en) Gaming security system
US7827397B2 (en) Gaming machine having a secure boot chain and method of use
AU2009202726B2 (en) BIOS protection device
USRE39368E1 (en) Electronic casino gaming system with improved play capacity, authentication and security
US7874916B2 (en) Security of gaming software
CA2844557C (en) Multi-tiered static chain of trust
US8827802B2 (en) Electronic gaming machine including a smartcard for protection, and method of use
AU2009202742B2 (en) Gaming security system
AU778171B2 (en) Gaming security system
US7761283B1 (en) Virtual EPROM simulator apparatus
AU2013205523A1 (en) Electronic casino gaming system with improved play capacity, authentication and security
AU2012245181B2 (en) Bios protection device
AU2011218679A1 (en) Gaming security system
JP3462568B2 (en) Microcomputer chip for gaming machine control
AU2017204350A1 (en) An electronic gaming machine

Legal Events

Date Code Title Description
MK14 Patent ceased section 143(a) (annual fees not paid) or expired