WO2020060101A1 - 보안 엘리먼트를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법 - Google Patents

보안 엘리먼트를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법 Download PDF

Info

Publication number
WO2020060101A1
WO2020060101A1 PCT/KR2019/011774 KR2019011774W WO2020060101A1 WO 2020060101 A1 WO2020060101 A1 WO 2020060101A1 KR 2019011774 W KR2019011774 W KR 2019011774W WO 2020060101 A1 WO2020060101 A1 WO 2020060101A1
Authority
WO
WIPO (PCT)
Prior art keywords
security
electronic device
related service
status information
service request
Prior art date
Application number
PCT/KR2019/011774
Other languages
English (en)
French (fr)
Inventor
이택기
김종수
권은영
이다솜
조대행
Original Assignee
삼성전자 주식회사
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
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to EP19862674.9A priority Critical patent/EP3839783A4/en
Priority to US17/277,600 priority patent/US11921857B2/en
Priority to CN201980061881.9A priority patent/CN112740209A/zh
Publication of WO2020060101A1 publication Critical patent/WO2020060101A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements
    • G06F21/567Computer malware detection or handling, e.g. anti-virus arrangements using dedicated hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements
    • G06F21/562Static detection
    • G06F21/565Static detection by checking file integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6281Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database at program execution time, where the protection is within the operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/034Test or assess a computer or a system

Definitions

  • Various embodiments of the present invention relate to an electronic device providing a service using a secure element and a method of operating the same.
  • the electronic device may provide various security-related services using a security element.
  • the security element is a hardware module that generates, stores, and / or manages security-sensitive information such as credentials.
  • the secure element stores service application programs such as credit payment services or transportation cards, and certificates related to an individual's identity or credentials (eg, identification card, resident registration card, driver's license certificate, access certificate, passport, eID (electronic identification) )) Is stored and / or managed.
  • the security element is designed to have security independent of the security element chip itself, regardless of the security level of other elements (eg, off card entity (OCE)) accessing the security element.
  • OCE off card entity
  • the security element is designed to detect various illegal attacks in hardware and software, and to safely protect information stored in the security element from the detected illegal attacks.
  • the secure element is mounted on an electronic device that requires security, such as a mobile device or an IoT device, and is used subordinately. For example, when a valid command is received from the host processor of the electronic device, the security element processes a function corresponding to the received command without much restriction. That is, since the security element operates dependent on the host processor, all valid commands input from the host processor are processed without filtration. Accordingly, when a security threat occurs in the electronic device, security of the security element included in the electronic device may be weakened. For example, when the electronic device is rooted or forged, access control to a security element included in the electronic device is disabled, so that security-related information may be exposed to illegal attacks.
  • various embodiments of the present invention relate to an electronic device providing a security service through a security element and a method for operating the electronic device based on the security state of the electronic device.
  • the electronic device is a processor that acquires security state information of the electronic device, and operates under control of the processor, receives security state information of the electronic device from the processor, and receives the electronic device.
  • a security element including a storage for storing security status information of the security element, wherein the security element detects a security-related service request command, obtains security status information of the electronic device from the storage, and obtains the obtained electronic device.
  • the detected security-related service request command may be processed or ignored based on whether or not the security status information of S satisfies the specified condition.
  • a method of operating an electronic device includes: obtaining a security state information of the electronic device in a processor, and securing security information of the electronic device in the security element operating under control of the processor. Storing in the storage inside the element, detecting the security-related service request command in the security element, obtaining security status information of the electronic device stored in the internal storage in the security element, and the security element In operation, it may include an operation of processing or ignoring the detected security-related service request command based on whether the obtained security status information of the electronic device satisfies a specified condition.
  • Various embodiments based on the security status of the electronic device in the electronic device, determines whether to provide a service through a secure element, so that the security-related information stored in the security element is secured when the electronic device is securely vulnerable. It is possible to prevent exposure to illegal attacks and provide a higher level of security related services.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments.
  • FIG. 2 is a block diagram illustrating a communication structure between a secure element and other components according to various embodiments.
  • FIG. 3 is a flowchart illustrating a security-related service based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 4 is a flowchart of storing security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 5 is an exemplary diagram of storing security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 6 is a flowchart illustrating a security-related service using an application based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 7 is an exemplary diagram for providing a security-related service using an application based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 8 is a signal flow diagram for providing a security-related service using an application based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 9 is a flowchart for providing a service through a wireless interface based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 10 is an exemplary diagram of providing a service through a wireless interface based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • 11 is a flowchart of controlling access to a secure element using a communication interface based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 12 is an exemplary diagram of controlling access to a security element using a communication interface based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 13 is a flowchart illustrating security-related information based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 14 is an exemplary diagram of providing security-related information based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • 15 is a signal flow diagram of providing security-related information based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • the electronic device 101 communicates with the electronic device 102 through the first network 198 (eg, a short-range wireless communication network), or the second network 199 It may communicate with the electronic device 104 or the server 108 through (eg, a remote wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • the first network 198 eg, a short-range wireless communication network
  • the second network 199 It may communicate with the electronic device 104 or the server 108 through (eg, a remote wireless communication network).
  • the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • the electronic device 101 includes a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, a security element ( 172), sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 Or, it may include an antenna module 197.
  • at least one of the components may be omitted or one or more other components may be added to the electronic device 101.
  • some of these components may be implemented as one integrated circuit.
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the display device 160 eg, a display.
  • the processor 120 executes software (eg, the program 140) to execute at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and can perform various data processing or operations. According to one embodiment, as at least part of data processing or computation, the processor 120 may receive instructions or data received from other components (eg, the sensor module 176 or the communication module 190) in the volatile memory 132. Loaded into, process instructions or data stored in volatile memory 132, and store result data in non-volatile memory 134.
  • software eg, the program 140
  • the processor 120 may receive instructions or data received from other components (eg, the sensor module 176 or the communication module 190) in the volatile memory 132. Loaded into, process instructions or data stored in volatile memory 132, and store result data in non-volatile memory 134.
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphics processing unit, an image signal processor) that can be operated independently or together. , A sensor hub processor, or a communication processor). Additionally or alternatively, the coprocessor 123 may be set to use lower power than the main processor 121, or to be specialized for a designated function. The coprocessor 123 may be implemented separately from the main processor 121 or as part of it.
  • a main processor 121 eg, a central processing unit or an application processor
  • an auxiliary processor 123 eg, a graphics processing unit, an image signal processor
  • the coprocessor 123 may be set to use lower power than the main processor 121, or to be specialized for a designated function.
  • the coprocessor 123 may be implemented separately from the main processor 121 or as part of it.
  • the coprocessor 123 may replace, for example, the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 may be active (eg, execute an application) ) With the main processor 121 while in the state, at least one of the components of the electronic device 101 (for example, the display device 160, the sensor module 176, or the communication module 190) It can control at least some of the functions or states associated with.
  • the coprocessor 123 eg, image signal processor or communication processor
  • may be implemented as part of other functionally relevant components eg, camera module 180 or communication module 190). have.
  • the memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176).
  • the data may include, for example, software (eg, the program 140) and input data or output data for commands related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134.
  • the program 140 may be stored as software in the memory 130, and may include, for example, an operating system 142, middleware 144, or an application 146.
  • the input device 150 may receive commands or data to be used for components (eg, the processor 120) of the electronic device 101 from outside (eg, a user) of the electronic device 101.
  • the input device 150 may include, for example, a microphone, mouse, or keyboard.
  • the audio output device 155 may output an audio signal to the outside of the electronic device 101.
  • the audio output device 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive an incoming call.
  • the receiver may be implemented separately from, or as part of, a speaker.
  • the display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display device 160 may include a touch circuitry configured to sense a touch, or a sensor circuit (eg, a pressure sensor) configured to measure the strength of the force generated by the touch. have.
  • the audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 acquires sound through the input device 150, or an external electronic device (eg, directly or wirelessly connected to the sound output device 155 or the electronic device 101) Sound may be output through the electronic device 102 (eg, speakers or headphones).
  • an external electronic device eg, directly or wirelessly connected to the sound output device 155 or the electronic device 101
  • Sound may be output through the electronic device 102 (eg, speakers or headphones).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state can do.
  • the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biological sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more designated protocols that can be used for the electronic device 101 to be directly or wirelessly connected to an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or movement) or electrical stimuli that the user can perceive through tactile or motor sensations.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and videos. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101.
  • the power management module 388 may be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101.
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishing and performing communication through the established communication channel.
  • the communication module 190 operates independently of the processor 120 (eg, an application processor), and may include one or more communication processors supporting direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg : Local area network (LAN) communication module, or power line communication module.
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • LAN Local area network
  • Corresponding communication module among these communication modules includes a first network 198 (for example, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (for example, a cellular network, the Internet, or It may communicate with external electronic devices through a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as
  • the wireless communication module 192 uses a subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • IMSI International Mobile Subscriber Identifier
  • the antenna module 197 may transmit a signal or power to the outside (eg, an external electronic device) or receive it from the outside.
  • the antenna module may be formed of a conductor or a conductive pattern according to one embodiment, and according to some embodiments, may further include other components (eg, RFIC) in addition to the conductor or conductive pattern.
  • the antenna module 197 may include one or more antennas, from which at least one suitable for a communication scheme used in a communication network such as the first network 198 or the second network 199 The antenna of, for example, may be selected by the communication module 190.
  • the signal or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.
  • peripheral devices for example, a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199.
  • Each of the electronic devices 102 and 104 may be the same or a different type of device from the electronic device 101.
  • all or some of the operations performed on the electronic device 101 may be performed on one or more external devices of the external electronic devices 102, 104, or 108.
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead executes the function or service itself.
  • one or more external electronic devices may be requested to perform at least a portion of the function or the service.
  • the one or more external electronic devices receiving the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and deliver the result of the execution to the electronic device 101.
  • the electronic device 101 may process the result, as it is or additionally, and provide it as at least part of a response to the request.
  • cloud computing, distributed computing, or client-server computing technology can be used.
  • the security element 172 is a module that creates, stores, and / or manages security-sensitive information.
  • the secure element 172 may store and / or manage, for example, an application program (or applet) that provides a credit payment service or a transportation card service, and / or a certificate and information related to an individual's identity or credentials. (E.g., identification card, resident registration card, driver's license certificate, access certificate, passport, eID (electronic identification)) can be stored and / or managed.
  • the security element 172 may be implemented as an independent circuit, and may include a separate processor.
  • the security element 172 includes a separate processor, but may operate under the control of the processor 120. For example, the secure element 172 can operate dependent on the processor 120.
  • the secure element 172 can be activated and / or deactivated by the processor 120 or the wireless communication module 190.
  • the security element 172 may include an embedded secure element (eSE) embedded in a fixed chip of the electronic device 101.
  • the security element 172 may be driven based on an operating system different from the operating system of the electronic device 101.
  • security element 172 may operate based on a proprietary operating system.
  • the secure element 172 may communicate with the processor 120 and / or at least one other component based on the secure channel protocol.
  • the secure element 172 may communicate with the processor 120 and / or at least one other component using a single wired protocol (SWP), ISO, or serial peripheral interface (SPI). have.
  • the security element 172 may install an applet provided from a service provider and provide security-related services using the installed applet.
  • the secure element 172 may include a subscriber identification module 196.
  • the security element 172 and the subscriber identification module 196 are configured as separate modules, but according to the design method, the security element and the subscriber identification module 196 may be configured as one module. Can.
  • FIG. 2 is a block diagram 200 illustrating a communication structure between a secure element 172 and at least one other component, according to various embodiments.
  • the at least one other component may be the processor 120 included in the electronic device 101 of FIG. 1.
  • the processor 120 may directly and / or indirectly secure elements 172 (eg, FIG. 1) through at least one interface.
  • Security element 172 The at least one interface may include, for example, at least one of I2C, SWP, SPI, or ISO.
  • the listed interfaces are exemplary, and various embodiments of the present invention will not be limited thereto.
  • the processor 120 can be directly and / or indirectly connected to the secure element 172 through interfaces that follow a communication protocol other than the listed interfaces.
  • the processor 120 uses at least one other component (eg, a short-range communication module 210) (eg, FIG. 1) using a separate access rule enforcer (or access management module).
  • the processor 120 may directly communicate with the security element 172 using an access authority monitor (or access authority monitoring module).
  • the access manager may be a software module that manages access rights to the I2C interface and / or access rights to the secure element 172 through the short-range communication module 210.
  • the access authority monitor may be a software module that manages access authority to the SPI interface and / or access authority to the secure element 172 through the SPI interface.
  • the processor 120 may detect a security state of the electronic device 101. According to an embodiment of the present disclosure, the processor 120 determines whether the electronic device is routed, whether malware is detected, whether a warranty bit is changed (broken), whether or not the access manager for the security element 172 is forged, electronic device 101 ) May detect at least one of whether an illegal attack is detected on the system area or an illegal attack on an application installed in the electronic device 101.
  • the processor 120 may detect the security state of the electronic device 101 using security state detection technology known to those skilled in the art. For example, the processor 120 may detect the security state of the electronic device 101 using the warranty bit. For example, when the electronic device 101 is booted, the processor 120 may check whether a boot image is normal by checking a warranty bit.
  • the processor 120 may determine that the boot image is abnormal when the warranty bit is changed, and may determine the security state of the electronic device 101 as a rooted state. This is an example, and a technique for detecting a security state according to various embodiments of the present invention is not limited thereto. For example, according to various embodiments of the present invention, various security state detection techniques known to those skilled in the art may be used.
  • the processor 120 may provide security state information indicating the security state of the detected electronic device 101 to the security element 172.
  • the security state information of the electronic device 101 may include, for example, at least one of information indicating a security state of a system area of the electronic device 101 or information indicating a security state of an application installed in the electronic device. have.
  • the security state information may be configured in a form of indicating a security level (or security level) or a type of security problem.
  • the security level may be differentially predefined in steps from level 0 to level N, and the processor 120 may determine the security state of the currently detected electronic device 101 based on the predefined security level. It is possible to determine the security level corresponding to.
  • security level N is the highest security level and the electronic device 101 is in a safe state
  • security level 0 is the lowest security level and the security state of the electronic device 101 is very high. It can be defined as vulnerable.
  • the electronic device 101 is rooted for "security level Na” and is defined as vulnerable to security
  • the electronic device 102 is rooted for "security level Nb”
  • the access manager for the security element 172 is forged, It can be defined as vulnerable to security.
  • the security status information of the electronic device 101 may be defined to indicate that at least one security problem among routing, access manager forgery, malware detection, or broken warranty bit is detected.
  • the processor 120 When the routing of the electronic device 101 is detected, the processor 120 generates security status information indicating “security level Na” and “rooted”, and provides the generated security status information to the security element 172 You can.
  • the definition of security status information may be determined and / or changed by a business operator and / or a designer.
  • the processor 120 detects a security state of the electronic device 101 at a time corresponding to at least one of a real time, a periodic time point, or a specified event occurrence time point, and indicates a security state detected. Status information may be provided to the security element 172.
  • the processor 120 may detect the security state of the electronic device 101 at least one of a time when a boot event occurs, an application installation time, a software update time, or a security-related service request. You can.
  • the processor 120 may provide information indicating the security state of the detected electronic device 101 to the security element 172 every time the security state is detected.
  • the processor 120 activates the security element 172 and provides security state information of the electronic device 101 to the activated security element 172. You can. According to an embodiment, when a change in the security state of the electronic device 101 is detected, the processor 120 may provide information indicating the changed security state to the security element 172.
  • the processor 120 detects a security state of the electronic device 101 at a real time, a periodic time point, or a specified event occurrence time point, and detects the security state of the electronic device 101 detected at the current time point and the previous time point If at least a part of the detected security state of the electronic device 101 is different, the security element 172 is activated, and the security element information that indicates security state information of the electronic device 101 detected at the current time is activated. 172).
  • the processor 120 may provide security state information to the secure element 172 using a secure channel protocol.
  • the processor 120 may provide security status information to the security element 172 through a trusted subject, thereby preventing the security status information from being forged.
  • the processor 120 may execute a first application based on a user input, and detect that a security-related service using the security element 172 is requested by the running first application.
  • the processor 120 may transmit a command for requesting a security-related service to the security element 172 using the first application.
  • the processor 120 may transmit the security status information of the first application to the security element 172 when a command for requesting a security-related service is transmitted.
  • the processor 120 may transmit a command signal for requesting a security-related service to the security element 172 while including security state information of the first application.
  • the security status information of the first application may include information (eg, application hash information) necessary for verifying the integrity and / or reliability of the application.
  • the processor 120 may receive a response signal for a command requesting a security-related service from the security element 172.
  • the processor 120 may provide a security-related service based on a response signal from the security element 172, or inform a user that the security-related service cannot be provided.
  • the processor 120 may determine whether the security-related service is permitted (or approved) from the security element 172 based on at least one information included in the response signal.
  • the response signal includes information corresponding to an instruction for requesting a security-related service or information indicating permission (or approval) for the security-related service
  • the processor 120 may use the security-related service based on the at least one information. Can provide.
  • the processor 120 may control the display device 160 to provide a user interface indicating that a security-related service cannot be provided when the response signal includes information indicating unauthorized (or denied) for the security-related service. You can.
  • the user interface indicating that a security-related service cannot be provided may include security status information. For example, when the response signal received from the security element 172 includes information indicating unauthorized (or denied) for a security-related service and security status information, the processor 120 includes the security status information and security.
  • the display device 160 may be controlled to provide a user interface indicating that a related service cannot be provided.
  • the processor 120 displays the display device 160 to provide a user interface indicating that the security-related service cannot be provided.
  • the processor 120 provides a security-related service when a response signal is not received from the security element 172 within a designated time interval from the time when a command for requesting a security-related service is transmitted to the security element 172
  • the display device 160 may be controlled to provide a user interface indicating that it cannot.
  • the user interface indicating that a security-related service cannot be provided may include information indicating that a security-related service cannot be provided due to a security condition.
  • the secure element 172 may communicate with the processor 120 or the short-range communication module 210 through at least one interface. According to an embodiment, the secure element 172 may be activated and operated periodically or at a specific time by the processor 120 or the short-range communication module 210.
  • the secure element 172 may receive secure state information from the processor 120 through a secure channel protocol and store the received secure state information in a storage inside the secure element 172.
  • security state information may be stored in an immutable area inside the security element 172.
  • the security element 172 does not delete the security state information stored at a previous time, and may additionally store security state information received from the processor 120 at the current time.
  • the security element 172 may store security status information of the current time and security status information of the past time together in an immutable area.
  • the security element 172 may store change history information of security state information.
  • the security element 172 may determine whether to provide a security-related service based on security state information previously stored in the storage inside the security element 172. have. The security element 172 may determine whether a specified condition corresponding to the requested security-related service is satisfied based on the pre-stored security state information. The security element 172 may operate to provide a security-related service when a specified condition is satisfied, and to block a security-related service when the specified condition is not satisfied.
  • the security element 172 may receive a command for requesting a security-related service from the processor 120 and security status information of the first application.
  • the security element 172 may execute a related applet based on a security related service request command.
  • the security-related service request command may include information (eg, identification information) of the first application that generated the security-related service request command, or information (eg, identification information) of the first applet corresponding to the first application. It can contain.
  • the security element 172 may execute a first applet corresponding to the first application based on the information included in the security-related service request command.
  • the first applet may be a payment applet.
  • the security element 172 may acquire security state information of the first application that is pre-stored in the storage inside the security element 172 using the first applet.
  • the security status information of the pre-stored first application is secured by being provided to the security element 172 from the processor 120 when the first application and the first applet corresponding to the first application are stored in the electronic device 101. It may be information stored in the storage inside the element 172.
  • the security element 172 may compare the security status information of the first application received from the processor 120 with the security status information of the first application obtained from the storage inside the security element 172.
  • the security element 172 is secured using the first applet when the security state information of the first application received from the processor 120 and the security state information of the first application obtained from the storage inside the security element 172 are the same.
  • the security element 172 By processing a command for requesting a related service, it is possible to control the requested security related service to be provided. If the security status information of the first application received from the processor 120 and the security status information of the first application obtained from the storage inside the security element 172 are not the same, the security element 172 provides security-related service. It is possible to control that a command that determines that it is impossible and requests a security-related service from the first applet is not processed. For example, the security element 172 may ignore (or discard) the security-related service request command transmitted by the processor 120 using the first application without normally processing it. According to an embodiment, when the first application is modified for malicious purposes or replaced with another similar application, the security status information of the received first application and security of the first application obtained from the storage inside the security element 172 Status information may be different.
  • the secure element 172 is a command (or signal) for requesting a security-related service from an external electronic device through the processor 120 or a short-range communication module (eg, the short-range communication module 210 of FIG. 2). ).
  • the security-related service request command may include information (eg, identification information) indicating an applet related to the security-related service request command.
  • the security element 172 may execute a second applet, which is an associated applet, based on information included in the security-related service request command.
  • the second applet may be a transit card applet.
  • the security element 172 may acquire pre-stored security state information from a storage inside the security element 172 using the second applet.
  • the security element 172 may determine whether the pre-stored security status information satisfies a specified condition using the second applet.
  • the designated condition may be a condition indicating that malware is not installed in the electronic device 101.
  • the designated condition may be a condition indicating that the electronic device 101 is not rooted and malware is not installed.
  • the specified condition may include security level 0. This is exemplary, and various embodiments of the present invention are not limited thereto.
  • the security element 172 may control the requested security-related service to be provided by processing a command for requesting the security-related service using the second applet. have.
  • the security element 172 determines that the pre-stored security status information does not satisfy the specified condition, it determines that the security status is vulnerable and thus it is impossible to provide the security-related service. It can be controlled not to be processed. For example, the security element 172 may ignore (or discard) the security-related service request command using 2 applets.
  • the security element 172 may determine whether to provide a security-related service based on the security status information and an interface on which a security-related service request command (or signal) is received. For example, the security element 172, if the security status information related to the interface with at least one other component (eg, the processor 120) or the short-range communication module 210 does not satisfy the specified condition, the corresponding interface It is possible to ignore the security-related service request command input from or to block signal reception from the corresponding interface.
  • the security element ( 172) may determine that it is impossible to provide a security-related service because the security of the SWP, which is an interface with the short-range wireless communication module 210, is weak. If the security of the SWP is weak and the security-related service cannot be provided, the security element 172 may ignore the security-related service request command received from the SWP or block a signal from being received from the SWP.
  • the security element 172 when the security state information related to the interface with at least one other component satisfies a specified condition, the security element 172 normally processes the security-related service request command input from the corresponding interface, thereby requesting the security. You can control the service to be provided. For example, if the security status information indicates that the electronic device 101 has not been rooted and the access manager managing access authority to the security element 172 through the short-range communication module 210 indicates an unfalsified status, the security element 172 ) May determine that there is no problem in the security of the SWP, which is an interface with the short-range wireless communication module 210, and may normally process a security-related service request command received from the SWP.
  • the operating system 220 of the security element 172 may identify an interface to which a security related service request command is input (or received).
  • the security element 172 checks the security status information stored in the storage inside the security element 172 every time a security-related service request command is input, and the checked security status information and the security-related service request command (or signal) are received. Based on the interface, it may be determined whether to provide a security-related service.
  • the security element 172 may receive an instruction for requesting a security-related service from the processor 120.
  • the security element 172 directly checks security status information of the electronic device 101 stored in the internal storage to provide security-related service. Can decide.
  • the security element 172 may determine whether a related applet exists, based on a security-related service request command.
  • the security-related service request command may include information (eg, identification information) of the third application that generated the security-related service request command.
  • the security element 172 may determine whether an applet corresponding to the third application exists, based on the information of the third application.
  • the security element 172 confirms that there is no related applet corresponding to the finance-related application in the security element 172 based on the application information included in the security-related service request command. You can. If the related applet does not exist, the security element 172 directly checks the security status information stored in the storage inside the security element 172 through the operating system, and determines whether to provide a security-related service based on the checked security status information. Can decide. According to an embodiment of the present disclosure, the security element 172 is based on security history information indicating past security status information of the electronic device 101 stored in the internal storage and whether the current security status information satisfies a specified condition, and security-related services. You can decide whether to offer.
  • the specified condition may represent, for example, a condition in which both security history information indicating past security status information and current security status information are at security level 0. This is an example, and various embodiments of the present invention are not limited thereto.
  • the security element 172 may control the requested security-related service to be provided by processing the security-related service request command when the security history information indicating the past security status information and the current security status information satisfy a specified condition.
  • the security element 172 may include security history information indicating past security status information and security-related information (eg, certificate information) requested by a security-related service request command when the current security status information satisfies a specified condition.
  • a response signal including a may be provided to the processor 120.
  • the security element 172 determines that the security status is vulnerable and the security-related service cannot be provided when the security history information indicating the past security status information and the current security status information do not satisfy the specified condition, and the security-related service request command It can be ignored (or discarded) without being processed normally.
  • the security element 172 may transmit a response signal to a command requesting a security-related service.
  • the secure element 172 may provide a response signal to the processor 120 indicating that the requested security-related service is permitted (or approved) or not (or denied).
  • the security element 172 may transmit a response signal including information indicating that the requested security-related service is not permitted and security status information to the processor 120. Can be provided as
  • the short-range communication module 210 receives a signal from an external electronic device (eg, the electronic device 102) through a short-range wireless communication network, and the active state of the security element 172 based on the received signal Can be controlled.
  • the short-range communication module 210 may determine whether a signal received from an external electronic device is a signal requesting a designated security-related service. When the signal received from the external electronic device is a designated security-related service request signal, the short-range communication module 210 may activate the security element 172 and transmit the signal received from the external electronic device to the security element 172. . When a response signal is provided from the secure element 172, the short-range communication module 210 may transmit the provided response signal to an external electronic device through a short-range wireless communication network.
  • the short-range communication module 210 may receive a signal to be transmitted from the processor 120 to the secure element 172, and may transmit the received signal to the secure element 172.
  • the short-range communication module 210 controls the security element 172 to be activated when the security element 172 is inactive (or sleep) when a signal to be transmitted to the security element 172 is received from the processor 120. Thereafter, a signal from the processor 120 may be transmitted to the activated security element 172.
  • the short-range communication module 210 may transmit a response signal from the secure element 172 to the processor 120.
  • an electronic device eg, the electronic device 101 of FIG. 1 includes a processor (eg, the processor 120 of FIG. 1) for obtaining security state information of the electronic device 101, and the A security element (e.g., storage) that operates under the control of the processor 120, receives the security state information of the electronic device 101 from the processor 120, and stores the security state information of the received electronic device.
  • the security element 172 of FIG. 1 wherein the security element 172 detects a security-related service request command, obtains security status information of the electronic device from the storage, and obtains the obtained electronic device
  • the detected security-related service request command may be processed or ignored based on whether or not the security status information of S satisfies the specified condition.
  • the security status information of the electronic device 101 includes information on whether the electronic device 101 is routed, information on whether malware is detected, and whether a warranty bit is changed. It may include at least one of information, information about whether or not the access manager has been forged, security status information on the system area of the electronic device, or security status information on an application installed on the electronic device.
  • the security status information may indicate at least one of a security level or a type of security problem.
  • the specified condition may be determined based on the type of the security-related service request command.
  • the command for requesting the security-related service may be received from the processor 120 or an external electronic device (eg, the electronic device 102 of FIG. 1).
  • the security element 172 when the security status information of the obtained electronic device 101 satisfies a specified condition, the security element 172 normally processes the detected security-related service request command and responds to the command. When the security function information of the obtained electronic device 101 does not satisfy the specified condition, the detected security-related service request command may be ignored.
  • the security element 172 receives security state information of an application related to the security-related service request command from the processor 120, and the security state of the electronic device 101 stored in the storage Acquiring security status information of an application related to the security-related service request command from information, and based on whether the security status information of the received application and the security status information of the obtained application match, the detected security-related service The request command can be processed or ignored.
  • the processor 120 determines security status information of the application when the application is installed on the electronic device, and transmits the determined security status information of the application to the security element 172 It can be controlled to be stored in the storage of the security element.
  • the security element 172 determines whether security status information of the electronic device 101 satisfies a condition related to forgery and alteration of the access manager, and security status information of the electronic device 101 When the condition related to forgery of the access manager is not satisfied, the interface corresponding to the detected security-related service request command is checked, and if the identified interface is the interface corresponding to the forged access manager, the detected When the security-related service request command is ignored and the identified interface is not an interface corresponding to the forged access manager, a function corresponding to the detected security-related service request command may be performed.
  • the security element 172 provides a response signal to the security-related service request command to the processor 120 or an external electronic device 102, and the response signal is the security-related It may include at least one of information requested by a service request command, information indicating a result of a function performed by a security-related service request command, or information indicating whether to approve a security-related service.
  • each operation may be performed sequentially, but is not necessarily performed sequentially.
  • the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the electronic device may be the electronic device 101 of FIG. 1.
  • an electronic device may detect a security-related service request event in operation 301.
  • the security-related service may be information stored in the security element 172 or a service using an applet installed in the security element 172.
  • the security-related service may be a payment applet installed in the security element 172, or a service using a transportation card applet.
  • the security-related service may be a service using a certificate or related information related to a user's identity or credentials stored in the security element 172.
  • the secure element 172 receives a payment request command using a payment application from a processor (for example, the processor 120 of FIG.
  • the secure element 172 is from an interface (eg, SPI, or SWP) to at least one other component (eg, the processor 120 of FIG. 1, or the short-range wireless communication module 210 of FIG. 2).
  • the security-related service request command it may be determined that a security-related service request event has occurred.
  • the security element 172 may determine that a security related service request event has occurred.
  • the electronic device may acquire security state information indicating the security state of the electronic device in operation 303.
  • the security element 172 may acquire security state information stored in a storage inside the security element 172.
  • the security status information includes, for example, whether the electronic device 101 is routed, whether malware is detected, whether a warranty bit is changed, whether it is forged by the access manager for the security element 172, and the electronic device 101 ), At least one of security status information for a system area and security status information for an application installed in the electronic device 101.
  • the security state information may be configured in a form of indicating a security level (or security level) or a type of security problem.
  • the security level may be pre-defined differentially in steps from level 0 to level N.
  • “security level N” is the highest security level and the electronic device 101 is in a safe state
  • "security level 0" is the lowest security level and the security state of the electronic device 101 is very weak. It can be defined as The "security level Na” may be defined as a state in which the electronic device 101 is rooted
  • the "security level Nb” may be defined as a state in which the access manager for the security element 172 is forged while the electronic device 102 is rooted.
  • the security status information may be defined to indicate that at least one security problem among routing, access manager forgery, malware detection, or warranty bit corruption is detected.
  • the definition of security status information may be determined and / or changed by a business operator and / or a designer.
  • the security element 172 may include security history information indicating security status information of the current time and security status information of the past time, the security status information stored in the storage inside the security element 172.
  • the security state information may be obtained by the processor 120 at a time in real time, at a periodic time, or at a time when a specified event occurs, and stored in the storage inside the security element 172.
  • the electronic device may determine whether to provide a service based on the security status information in operation 305.
  • the security element 172 may determine whether to provide a service based on whether the obtained security state information satisfies a specified condition. According to an embodiment, when the obtained security state information does not satisfy the specified condition, the security element 172 determines that the requested security-related service is not available, and operates so that the requested security-related service is not provided can do. For example, the security element 172 may ignore or discard the security-related service request command input from at least one other component.
  • the security element 172 may determine that the requested security-related service is available, and operate to provide the requested security-related service. have.
  • the security element 172 may normally process a security-related service request command input from at least one other component.
  • the designated condition may be differently determined based on the detected type of security-related service request event (or command).
  • specified conditions include security status information (eg, hash information) and a processor of a payment application stored in a storage inside the security element 172. It may include a condition that the security status information of the payment application received from (120) match.
  • the designated condition when a security-related service request event is detected by a traffic fare payment command using a traffic card applet, the designated condition may include a condition indicating “not rooted and malware not detected”. As another example, when a security-related service request command is received through a SWP interface and a security-related service request event is detected, the designated condition may include a condition indicating “not rooted, not forged by access manager”. As another example, when a user authentication request command generated using a bank application is received from the processor 120 and a security related service request event is detected, the specified condition indicates a condition indicating that both the current security level and the past security level are 0. It can contain.
  • the above-described examples are examples for helping understanding of the present invention, and the present invention is not limited thereto.
  • FIG. 4 is a flowchart 400 of providing security status information of an electronic device in an electronic device according to various embodiments.
  • the operations of FIG. 4 described below may be at least some of the detailed operations of operation 303 of FIG. 3, or may be operations performed before the operations of FIG. 3 are performed.
  • each operation may be performed sequentially, but is not necessarily performed sequentially.
  • the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the electronic device may be the electronic device 101 of FIG. 1.
  • FIG. 5 is an exemplary diagram of storing security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • an electronic device may detect a security state of the electronic device in operation 401.
  • the processor 120 may detect the security state of the electronic device at a time corresponding to at least one of a real time, a periodic time, or a designated event occurrence time (eg, a boot time, a software update time, an application installation time).
  • the processor 120 determines whether the electronic device is routed, whether malware is detected, whether the warranty bit is broken, or whether the access manager for the security element 172 is forged, electronic device 101 ) May detect at least one of whether an illegal attack is detected on the system area or an illegal attack on an application installed in the electronic device 101.
  • the processor 120 may detect a security state of the electronic device using techniques known to those skilled in the art, such as a warranty bit. For example, when the electronic device 101 is booted, the processor 120 may check whether a boot image is normal by checking a warranty bit. The processor 120 may determine that the boot image is abnormal when the warranty bit is changed, and determine the security state of the electronic device as a rooted state. This is an example, and the present invention is not limited thereto.
  • the electronic device may transmit security state information indicating the security state of the electronic device detected in operation 403 to the security element (eg, the security element 172 of FIG. 1). have.
  • the processor 120 may generate security state information indicating the security state of the electronic device.
  • the security status information may include information described in FIG. 3 described above.
  • the processor 120 may transmit security state information 510 indicating whether the electronic device 101 is rooted to the security element 172 through the secure channel 520. have.
  • the electronic device may store security status information in operation 405.
  • the security element 172 may store the received security state information in a storage inside the security element 172.
  • the security element 172 may store security state information of the electronic device in an immutable area inside the security element 172.
  • the security element 172 may additionally store security state information received from the processor 120 at the current time, without deleting the security state information stored at the previous time.
  • the security element 172 may store security status information of the current time and security status information of the past time together in an immutable area.
  • the security element 172 may store change history information of security state information.
  • the security element 172 may store security state information 530 indicating whether the electronic device 101 is rooted in a storage inside the security element 172.
  • FIG. 6 is a flowchart 600 of providing a security-related service using an application based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • the operations of FIG. 6 described below may be at least some of the detailed operations of operations 301, 303, and 305 of FIG. 3.
  • each operation may be performed sequentially, but is not necessarily performed sequentially.
  • the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the electronic device may be the electronic device 101 of FIG. 1.
  • FIG. 7. 7 is an exemplary diagram for providing a security-related service using an application based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • the electronic device may detect a security-related service request of the first application in operation 601.
  • the processor 120 may execute a first application based on the first input, and detect that a security-related service is requested based on the second input to the running first application.
  • the security-related service may include a service as described in operation 301 of FIG. 3.
  • the processor 120 may detect that a security-related service request using the payment application has occurred.
  • the processor 120 may detect a payment request event through the payment application while the payment application 710 is executed, as illustrated in FIG. 7.
  • the electronic device may generate security status information of the first application and a supplementary service request command in operation 603.
  • the processor 120 when the security-related service request of the first application is detected, the processor 120 generates security status information of the currently executing first application, and generates a security-related service request command using the first application. can do.
  • the security status information of the first application is information necessary for verifying the integrity and / or reliability of the first application, and may include, for example, hash information.
  • the processor 120 may transmit the generated security information of the first application and a security-related service request command to the security element 172. For example, as illustrated in FIG. 7, the processor 120 may transmit the payment request command 730 and the security status information 732 of the payment application to the security element 172.
  • the electronic device may acquire security state information of the first application previously stored in operation 605.
  • the security element 172 executes the first applet based on the security-related service request command, and uses the executed first applet to secure the inside of the security element 172.
  • Security status information of the first application previously stored in the storage may be obtained. For example, as illustrated in FIG. 7, when the payment request command 730 is received, the security element 172 executes the payment applet 720 based on the payment request command, and uses the payment applet 720. By confirming and obtaining the security status information 740 of the payment application stored in the storage inside the security element 172.
  • the electronic device compares the security status information of the first application previously stored with the security status information of the generated first application in operation 607 to determine whether to match. You can.
  • the security element 172 uses the first applet to secure the first application's security status information stored in the storage inside the security element 172 and the first application's security status received from the processor 120. The information can be compared to determine whether the two security status information matches.
  • the electronic device eg, the security element 172 of FIG. 1
  • the electronic device eg, the security element 172 of FIG. 1
  • a function corresponding to a service request command may be performed.
  • the security element 172 determines that the integrity and / or reliability of the first application is verified.
  • the security-related service request command can be normally processed using the first applet.
  • the security element 172 may perform a payment function corresponding to a payment request command using the payment application 720.
  • the electronic device eg, the security element 172 of FIG. 1
  • the electronic device eg, the security element 172 of FIG. 1
  • the relevant service request command can be ignored.
  • the security element 172 determines that there is no integrity and / or reliability of the first application. And, it can be controlled so that the security-related service request command is not processed using the first applet. For example, the secure element 172 may ignore or discard the payment request command received from the processor 120.
  • FIG. 8 is a signal flow diagram 800 for providing a security-related service using an application based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • the operations of FIG. 8 described below may be at least some of the operations of FIG. 6.
  • the electronic device may be the electronic device 101 of FIG. 1.
  • a processor of the electronic device 101 may detect a security-related service request using a first application in operation 810.
  • the processor 120 of the electronic device 101 may detect that a security-related service is requested based on a user input to a running first application. It may include an operation as described in 601.
  • an operation indicated by a dotted line may be omitted according to an embodiment.
  • the processor 120 of the electronic device 101 may transmit the security status information of the first application and a supplementary service request command to the security element 172 in operation 812.
  • the processor 120 when the security-related service request using the first application is detected, the processor 120 generates a security-related service request command using the first application, and the security status information of the first application (eg, hash Information).
  • the processor 120 may transmit the generated security-related service request command and security status information of the first application to the security element 172.
  • the security element 172 of the electronic device 101 may obtain security state information of the first application previously stored in operation 814. According to an embodiment, when the security-related service request command and the security status information of the first application are received, the security element 172 executes a first applet based on the received security-related service request command and executes the first executed The security status information of the first application pre-stored in the storage inside the security element 172 may be obtained using the applet.
  • the security element 172 of the electronic device 101 may compare the security status information of the first application previously stored with the security status information of the received first application in operation 816 to determine whether or not it matches.
  • the security element 172 uses the first applet to secure the first application's security status information stored in the storage inside the security element 172 and the first application's security status received from the processor 120. The information can be compared to determine whether the two security status information matches.
  • the security element 172 of the electronic device 101 is based on whether the security state information of the first application previously stored in operation 818 matches the security state information of the generated first application, and the security-related service.
  • a function corresponding to the request command may be performed, or a security-related service request command may be ignored.
  • the security element 172 may perform a function corresponding to a security-related service request command. If the pre-stored security status information of the first application and the generated first application security status information do not match, the security element 172 may ignore the security-related service request command.
  • the security element 172 of the electronic device 101 may transmit a response signal to the security-related service request to the processor 120 in operation 820.
  • the response signal may include at least one of information requested by a security-related service request command, information indicating a result of a function performed by the security-related service request command, or information indicating whether a security-related service is permitted (or approved). It can contain.
  • FIG. 9 is a flowchart 900 of providing a service through a wireless interface based on security state information of an electronic device in an electronic device according to various embodiments.
  • the operations of FIG. 9 described below may be at least some of the detailed operations of operations 301, 303, and 305 of FIG. 3.
  • each operation may be performed sequentially, but is not necessarily performed sequentially.
  • the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the electronic device may be the electronic device 101 of FIG. 1.
  • FIG. 10 is an exemplary diagram for providing a security-related service using an application based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • an electronic device eg, the security element 172 of FIG. 1 may detect a security-related service request from an external electronic device in operation 901.
  • the security element 172 may transmit a security-related service request command (or signal) transmitted from an external electronic device through the processor 120 or a short-range wireless communication module (eg, 210 of FIG. 2). I can receive it.
  • the security element 172 may receive a signal requesting payment of a traffic fee from an external electronic device through the processor 120 or the short-range communication module 210.
  • the electronic device may determine whether the pre-stored security status information satisfies the specified condition in operation 903.
  • the security element 172 may check pre-stored security state information using an applet related to the security-related service request signal, and determine whether the pre-stored security state information satisfies a specified condition.
  • the security-related service request signal may include information (eg, identification information) indicating an applet related to a security-related service request command.
  • the security element 172 may execute a related applet based on information included in a security-related service request signal received from an external electronic device. For example, as illustrated in FIG.
  • the security element 172 is based on the received traffic fee payment request signal. By doing so, the traffic card applet 1020 can be executed.
  • the security element 172 is information indicating whether malware is detected from security state information previously stored in the storage inside the security element 172 using the traffic card applet 1020 when the specified condition is set to “malware not detected”. You can check whether the specified condition is satisfied by checking (1030).
  • the specified conditions are exemplary and can be set and changed by the designer and / or operator.
  • the designated condition may include a condition for at least one of security level, whether to be rooted, and whether to tamper with an access manager.
  • the electronic device when the pre-stored security status information satisfies the specified condition, the electronic device (eg, the security element 172) transmits a response signal corresponding to the security-related service request to the external electronic device in operation 905. You can.
  • the security element 172 may determine that the security status is strong and determine that security-related service can be provided. The security element 172 may process a command for requesting a security-related service by using the second applet, so that a response signal to the security-related service request command is transmitted to an external electronic device.
  • the security element 172 determines that the specified condition is satisfied, and uses the traffic card applet 1020 to respond to the payment of the traffic fee through the local area wireless communication network.
  • the signal can be controlled to be transmitted.
  • the electronic device may ignore the security-related service request in operation 907.
  • the security element 172 determines that the security status is vulnerable and thus, it is impossible to provide security-related services, and the security is related to the second applet. It is possible to control that a command requesting a service is not processed. For example, when the security state information indicates that the malware is detected, the security element 172 determines that the specified condition is not satisfied, and the traffic fee payment request through the local area wireless communication network using the traffic card applet 1020 is processed. Can be controlled.
  • the traffic card applet 1020 is used. By doing so, it is possible to control so that the response signal to the traffic fee payment request is not transmitted to the external electronic device.
  • the response signal for rejecting the payment request using the traffic card applet 1020 is short-range. It can be controlled to be transmitted to an external electronic device through a communication network.
  • the response signal for rejecting the payment request may include information indicating a reason for rejecting the payment request.
  • the response signal rejecting the payment request may include an error code indicating security problem detection (eg, malware detection).
  • FIG. 11 is a flowchart 1100 of controlling access to a secure element using a communication interface based on security state information of an electronic device in an electronic device according to various embodiments.
  • the operations of FIG. 11 described below may be at least some of the detailed operations of operations 301, 303, and 305 of FIG. 3. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the electronic device may be the electronic device 101 of FIG. 1.
  • FIG. 12 is an exemplary diagram of controlling access to a security element using a communication interface based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • an electronic device may acquire security status information indicating that forgery of the access manager is detected in operation 1101.
  • the security element 172 may obtain security state information indicating that the access manager has been forged from the security state information previously stored in the internal storage.
  • the operating system of the security element 172 may obtain information 1242 indicating that the access manager corresponding to the I2C and SWP interfaces has been falsified from pre-stored security state information.
  • the security element 172 may receive security status information indicating that the access manager for the security element 172 is forged from the processor 120.
  • the access manager may include access authority for controlling access to the security element 172.
  • the electronic device may set an interface corresponding to the forged access manager in operation 1103 as a blocking interface.
  • the security element 172 may identify an interface corresponding to forgery of the access manager, and set the identified interface as a blocking interface.
  • secure element 172 is an interface between at least one other component and secure element 172, SWP 1224, SPI 1222, or ISO 1232. ), It is confirmed that the interface corresponding to the forged access manager is the SWP 1224, and the SWP 1224 can be set as a blocking interface for blocking communication.
  • the electronic device may determine whether a command requesting a security-related service is detected in operation 1105.
  • the operating system of the secure element 172 may detect a security-related service request command input to the secure element 172 through at least one interface.
  • the electronic device may determine whether the interface used for command detection is the blocking interface in operation 1107.
  • the operating system of the security element 172 may determine whether the interface to which the security-related service request command is input is a blocking interface.
  • the security element 172 may determine whether the detected security-related service request command is input through the SWP 1224 set as a blocking interface.
  • the electronic device when the interface used for detecting a command is not a blocking interface, the electronic device (eg, the security element 172) may normally process the command detected in operation 1109.
  • the security element 172 when the operating system of the security element 172 is input through a different interface than the security-related service request command, the security element 172 normally processes the input security-related service request command. You can. For example, as illustrated in FIG. 12, the operating system of the security element 172 may input the security-related service request command when the security-related service request command is input through the SPI 1222 or ISO 1232. Can be handled normally.
  • the electronic device when the interface used for detecting a command is a blocking interface, the electronic device (eg, the security element 172) may ignore the command detected in operation 1111.
  • the operating system of the security element 172 when the security-related service request command is input through the blocking interface, the operating system of the security element 172 may ignore the input security-related service request command without processing. For example, as illustrated in FIG. 12, when the access manager 1210 is forged, an unauthorized application may attempt to access the security element 172 using the forged access manager, so the security element ( 172) may ignore the security-related service request command input through the SWP 1224.
  • FIG. 13 is a flowchart 1300 of providing security-related information based on security state information of an electronic device in an electronic device according to various embodiments.
  • the operations of FIG. 13 described below may be at least some of the detailed operations of operations 301, 303, and 305 of FIG. 3.
  • each operation may be performed sequentially, but is not necessarily performed sequentially.
  • the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the electronic device may be the electronic device 101 of FIG. 1.
  • FIG. 14 is an exemplary diagram of providing security-related information based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • an electronic device eg, the processor 120 of FIG. 1 may detect a security-related service request of a third application in operation 1301.
  • the processor 120 may execute a third application based on the first input, and detect that a security-related service is requested based on the second input to the running third application.
  • the security-related service may include a service as described in operation 301 of FIG. 3.
  • the processor 120 may detect that a security-related service request using the financial-related application has occurred.
  • the processor 120 may detect a user authentication request event while the financial related application 1410 is executed.
  • the electronic device may generate a security-related service request command in operation 1303.
  • the processor 120 may generate a security-related service request command using a third application.
  • the processor 120 may generate a user authentication request command using a finance-related application.
  • the security-related service request command may include information (eg, identification information) of a financial-related application.
  • the electronic device may obtain pre-stored security state information in operation 1305.
  • the security element 172 may acquire security state information stored in a storage inside the security element 172.
  • the security element 172 may determine that the related applet does not exist based on the security related service request command.
  • the security-related service request command may determine that there is no applet corresponding to the third application based on information included in the security-related service request command.
  • the security element 172 may obtain security state information stored in a storage inside the security element 172 using an operating system.
  • the electronic device may determine whether the pre-stored security status information satisfies the specified condition in operation 1307.
  • the security element 172 is based on security history information indicating past security status information of the electronic device 101 stored in the internal storage and whether the current security status information satisfies a specified condition, and security-related services. You can decide whether to offer. For example, as illustrated in FIG. 14, the security element 172 obtains current security state information 1422 and security history information 1420 from the internal storage, and determines whether the obtained information satisfies a specified condition. have.
  • the designated condition may indicate, for example, a condition in which both security history information indicating past security status information and current security status information are security level 0. This is an example, and various embodiments of the present invention are not limited thereto.
  • the designated condition may be a condition about whether to detect rooting and whether to detect malware.
  • the security element 172 may acquire security state information from the storage inside the security element 172 based on the specified condition, and determine whether the obtained security state information satisfies the specified condition.
  • the electronic device when the pre-stored security status information satisfies the specified condition, the electronic device (eg, the security element 172) may provide a response signal to the security-related service request in operation 1309.
  • the security element 172 when the current security status information and security history information satisfy a specified condition, the security element 172 may control the requested security-related service to be provided by processing a security-related service request command.
  • the security element 172 may provide a response signal to the processor 120 including security-related information (eg, certificate information) requested by the security-related service request command.
  • the electronic device may ignore the security-related service request command in operation 1311.
  • the security element 172 may control the requested security-related service not to be provided by ignoring the security-related service request command. have.
  • the security element 172 may provide a response signal indicating that the service is impossible due to the security state to the processor 120 when the security history information indicating the past security state information and the current security state information do not satisfy the specified condition. have.
  • FIG. 15 is a signal flow diagram 1500 for providing security-related information based on security state information of an electronic device in an electronic device according to various embodiments of the present disclosure.
  • the operations of FIG. 15 described below may be at least some of the operations of FIG. 13.
  • the electronic device may be the electronic device 101 of FIG. 1.
  • an operation indicated by a dotted line may be omitted according to an embodiment.
  • a processor of the electronic device 101 may detect a security-related service request using a third application in operation 1510. According to this, the processor 120 of the electronic device 101 may detect that a security-related service is requested based on a user input to a running third application. It may include the operation as described in 1301.
  • the processor 120 of the electronic device 101 may transmit a security-related service request command to the security element (eg, the security element 172 of FIG. 1) in operation 1512.
  • the processor 120 when the security-related service request using the third application is detected, the processor 120 generates a security-related service request command using the third application, and generates the security-related service request command using the security element ( 172).
  • the security element 172 of the electronic device 101 may obtain pre-stored security state information in operation 1514.
  • the security element 172 may determine that the related applet does not exist based on the received security-related service request command. For example, the security-related service request command may determine that there is no applet corresponding to the third application based on information included in the security-related service request command.
  • the security element 172 may obtain security state information stored in a storage inside the security element 172 using an operating system. For example, the security element 172 may obtain security state information including current security state information and security history information from the internal storage.
  • the security element 172 of the electronic device 101 may determine whether the pre-stored security status information satisfies the specified condition in operation 1516. According to an embodiment, the security element 172 may determine whether the current security status information and security history information satisfy a specified condition.
  • the specified condition may indicate, for example, a condition in which both the current security status information and the security history information are security level 0. This is an example, and various embodiments of the present invention are not limited thereto.
  • the designated condition may be a condition about whether to detect rooting and whether to detect malware.
  • the security element 172 may obtain security state information related to a specified condition from a storage inside the security element 172, and determine whether the obtained security state information satisfies the specified condition.
  • the security element 172 of the electronic device 101 provides a security-related service or a security-related service request command based on whether the pre-stored security status information satisfies a specified condition in operation 1518 You can decide to ignore.
  • the security element 172 may process the security-related service request command normally so that the requested security-related service is provided.
  • the security element 172 may ignore the security-related service request command so that the requested security-related service is not provided.
  • the security element 172 of the electronic device 101 may transmit a response signal to the service request to the processor 120 in operation 1520.
  • the response signal may include at least one of information requested by a security-related service request command, information indicating a result of a function performed by the security-related service request command, or information indicating whether a security-related service is permitted (or approved). It can contain.
  • the security element information indicating the security state of the electronic device 101 is stored in the security element 172 of the electronic device 101, and the security element information 172 is used to determine whether to provide a security-related service.
  • the security element 172 of the electronic device 101 may store security state information of at least one external electronic device (eg, the electronic device 102 of FIG. 1). For example, the security element 172 determines whether the at least one external electronic device 102 is rooted, whether at least one external electronic device 102 detects malware, and the warranty bit of the at least one external electronic device 102.
  • the electronic device 101 receives a security-related service request command (or signal) from at least one external electronic device through the processor 120 and / or the communication module 190, and through the security element 172, the security element ( 172) Based on security status information of at least one external electronic device pre-stored in the internal storage, it may be determined whether to provide a security-related service requested from at least one external electronic device. For example, the security element 172 of the electronic device 101 may normally process or ignore the security-related service request command based on the security status information of at least one external electronic device pre-stored in the internal storage.
  • an operation method of an electronic device is obtained by a processor (eg, the processor 120 of FIG. 1) obtaining security state information of the electronic device.
  • a processor eg, the processor 120 of FIG. 1
  • the security element operated by the control of the processor 120
  • the operation of storing the security status information of the electronic device in the storage inside the security element eg, the security element 172 of FIG.
  • the security element At 172, an operation for detecting a security-related service request command, an operation for obtaining security status information of the electronic device stored in the internal storage at the security element 172, and at the security element 172, the It may include an operation of processing or ignoring the detected security-related service request command based on whether the obtained security status information of the electronic device satisfies a specified condition.
  • the security status information of the electronic device includes information on whether the electronic device is rooted, information on whether malware is detected, information on whether a warranty bit is changed, access manager's It may include at least one of information on whether forgery or alteration, security status information on a system area of the electronic device, or security status information on an application installed on the electronic device.
  • the security status information may indicate at least one of a security level or a type of security problem.
  • the specified condition may be determined based on the type of the security-related service request command.
  • the command for requesting the security-related service may be received from the processor 120 or an external electronic device (eg, the electronic device 102 of FIG. 1).
  • an operation of processing or ignoring the detected security-related service request command may include the security element when security status information of the obtained electronic device satisfies a specified condition.
  • an operation of ignoring the detected security-related service request command may be included.
  • the security element 172 further includes receiving security status information of an application related to the security-related service request command from the processor 120, and in the security element 172,
  • the operation of processing or ignoring the detected security-related service request command may include, in the security element 172, checking security state information of an application related to the security-related service request command from the obtained security state information, and the security.
  • element 172 based on whether the security status information of the received application and the security status information of the identified application match, may include processing or ignoring the detected security-related service request command. .
  • the processor 120 determines the security status information of the application when the application is installed on the electronic device, and the processor 120 determines the security status information of the determined application. It may further include the operation of controlling to be transmitted to the secure element 172 to be stored in the storage of the secure element 172.
  • the operation of processing or ignoring the detected security-related service request command in the security element 172 may include in the security element 172, the security status information of the electronic device being forged by the access manager. Determining whether or not a condition related to is satisfied, and when the security status information of the electronic device does not satisfy a condition related to forgery and alteration of the access manager, the security element 172 corresponds to the detected security-related service request command Checking the interface to be, if the identified interface is the interface corresponding to the forged access manager, in the security element 172, ignoring the detected security-related service request command, and the identified interface If is not the interface corresponding to the forged access manager, In the security element 172, it may include an operation to perform a function corresponding to the detection of security service request command.
  • the security element 172 further includes providing a response signal to the security-related service request command to the processor 120 or the external electronic device 102, and the response signal May include at least one of information requested by the security-related service request command, information indicating a result of a function performed by the security-related service request command, or information indicating whether to approve the security-related service. .
  • the electronic device may be various types of devices.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • any (eg, first) component is referred to as a "coupled” or “connected” to another (eg, second) component, with or without the term “functionally” or “communicatively”
  • any of the above components can be connected directly to the other components (eg, by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic blocks, components, or circuits.
  • the module may be an integrally configured component or a minimum unit of the component or a part thereof performing one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document may include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (e.g., program 140) that includes.
  • a processor eg, processor 120
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the storage medium readable by the device may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device, and does not include a signal (eg, electromagnetic wave), and this term is used when data is semi-permanently stored in the storage medium. It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • a method may be provided as being included in a computer program product.
  • Computer program products are commodities that can be traded between sellers and buyers.
  • the computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or two user devices ( It can be distributed (eg, downloaded or uploaded) directly or online between smartphones).
  • a device such as a memory of a manufacturer's server, an application store's server, or a relay server, or temporarily generated.
  • each component (eg, module or program) of the above-described components may include a singular or a plurality of entities.
  • one or more components or operations of the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, modules or programs
  • the integrated component may perform one or more functions of each component of the plurality of components the same or similar to that performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, or omitted Or, one or more other actions can be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Virology (AREA)
  • Bioethics (AREA)
  • Automation & Control Theory (AREA)
  • Databases & Information Systems (AREA)
  • Storage Device Security (AREA)
  • Telephone Function (AREA)

Abstract

본 발명의 다양한 실시예는 보안 엘리먼트를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법에 관한 것이다. 이때 전자 장치는 상기 전자 장치의 보안 상태 정보를 획득하는 프로세서, 및 상기 프로세서의 제어에 의해 동작하고, 상기 프로세서로부터 상기 전자 장치의 보안 상태 정보를 수신하고, 수신된 전자 장치의 보안 상태 정보를 저장하는 저장소를 포함하는 보안 엘리먼트를 포함하고, 상기 보안 엘리먼트는, 보안 관련 서비스 요청 명령을 감지하고, 상기 저장소에서 상기 전자 장치의 보안 상태 정보를 획득하고, 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시할 수 있다. 다른 실시예들도 가능할 수 있다.

Description

보안 엘리먼트를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법
본 발명의 다양한 실시예들은 보안 엘리먼트(secure element)를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법에 관한 것이다.
전자 장치는 보안 엘리먼트를 이용하여 다양한 보안 관련 서비스를 제공할 수 있다. 보안 엘리먼트는 크리덴셜(credential)과 같은 보안에 민감한 정보를 생성, 저장, 및/또는 관리하는 하드웨어 모듈이다. 보안 엘리먼트는, 신용 결제 서비스나 교통 카드와 같은 서비스 어플리케이션 프로그램을 저장하고, 개인의 신분 또는 자격 증명과 관련된 증명서(예: 신분증명서, 주민등록 증명서, 운전면허 증명서, 출입 증명서, 여권, eID(electronic identification))를 저장 및/또는 관리한다.
보안 엘리먼트는 보안 엘리먼트에 접근하는 다른 엘리먼트(예: OCE(off card entity))의 보안 수준과 무관하게 보안 엘리먼트 칩 자체적으로 독립적인 보안성을 갖도록 설계된다. 예를 들어, 보안 엘리먼트는 하드웨어 및 소프트웨어적으로 다양한 불법적인 공격을 감지하고, 감지된 불법적인 공격으로부터 보안 엘리먼트에 저장된 정보를 안전하게 보호하도록 설계된다.
보안 엘리먼트(secure element)는 모바일 기기나 IoT 장치 등과 같이 보안을 필요로 하는 전자 장치에 탑재되어 종속적으로 사용된다. 예를 들어, 보안 엘리먼트는 전자 장치의 호스트 프로세서로부터 유효한 명령이 수신되는 경우, 별다른 제약 없이 수신된 명령에 대응되는 기능을 처리한다. 즉, 보안 엘리먼트는 호스트 프로세서에 대해 종속적으로 동작하므로, 호스트 프로세서로부터 입력되는 유효한 모든 명령을 여과 없이 처리한다. 따라서, 전자 장치에 보안적인 위협이 발생할 경우, 전자 장치에 포함된 보안 엘리먼트의 보안성이 취약해질 수 있다. 예를 들어, 전자 장치가 루팅되거나 위변조되는 경우, 전자 장치에 포함된 보안 엘리먼트로의 접근 제어가 무력화됨으로써, 보안 관련 정보들이 불법적인 공격에 노출될 수 있다.
따라서, 본 발명의 다양한 실시예들은 전자 장치의 보안 상태에 기초하여, 보안 엘리먼트를 통한 보안 서비스를 제공하는 전자 장치 및 그의 동작 방법에 관한 것이다.
다양한 실시예에 따르면, 전자 장치는, 상기 전자 장치의 보안 상태 정보를 획득하는 프로세서, 및 상기 프로세서의 제어에 의해 동작하고, 상기 프로세서로부터 상기 전자 장치의 보안 상태 정보를 수신하고, 수신된 전자 장치의 보안 상태 정보를 저장하는 저장소를 포함하는 보안 엘리먼트를 포함하고, 상기 보안 엘리먼트는, 보안 관련 서비스 요청 명령을 감지하고, 상기 저장소에서 상기 전자 장치의 보안 상태 정보를 획득하고, 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시할 수 있다.
다양한 실시예에 따르면, 전자 장치의 동작 방법은, 프로세서에서, 상기 전자 장치의 보안 상태 정보를 획득하는 동작, 상기 프로세서의 제어에 의해 동작하는 보안 엘리먼트에서, 상기 전자 장치의 보안 상태 정보를 상기 보안 엘리먼트 내부의 저장소에 저장하는 동작, 상기 보안 엘리먼트에서, 보안 관련 서비스 요청 명령을 감지하는 동작, 상기 보안 엘리먼트에서 상기 내부의 저장소에 저장된 상기 전자 장치의 보안 상태 정보를 획득하는 동작, 및 상기 보안 엘리먼트에서, 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작을 포함할 수 있다.
다양한 실시예들은, 전자 장치에서 전자 장치의 보안 상태에 기초하여, 보안 엘리먼트(secure element)를 통한 서비스 제공 여부를 결정함으로써, 전자 장치가 보안적으로 취약해진 상태에서 보안 엘리먼트에 저장된 보안 관련 정보가 불법적인 공격에 노출되는 것을 방지하고, 더 높은 수준의 보안 관련 서비스를 제공할 수 있다.
도 1은 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시예들에 따른, 보안 엘리먼트와 다른 구성 요소들 사이의 통신 구조를 나타내는 블럭도이다.
도 3은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 보안 관련 서비스를 제공하는 흐름도이다.
도 4는 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보를 저장하는 흐름도이다.
도 5는 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보를 저장하는 예시도이다.
도 6은 다양한 실시예에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 어플리케이션을 이용한 보안 관련 서비스를 제공하는 흐름도이다.
도 7은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 어플리케이션을 이용한 보안 관련 서비스를 제공하는 예시도이다.
도 8은 다양한 실시예에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 어플리케이션을 이용한 보안 관련 서비스를 제공하는 신호 흐름도이다.
도 9는 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 무선 인터페이스를 통한 서비스를 제공하는 흐름도이다.
도 10은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 무선 인터페이스를 통한 서비스를 제공하는 예시도이다.
도 11은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 통신 인터페이스를 이용한 보안 엘리먼트에 대한 접근을 제어하는 흐름도이다.
도 12는 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 통신 인터페이스를 이용한 보안 엘리먼트에 대한 접근을 제어하는 예시도이다.
도 13은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 보안 관련 정보를 제공하는 흐름도이다.
도 14는 다양한 실시예에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 보안 관련 정보를 제공하는 예시도이다.
도 15는 다양한 실시예에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 보안 관련 정보를 제공하는 신호 흐름도이다.
이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 기재된다. 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 보안 엘리먼트(172), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)은 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 또는 키보드를 포함할 수 있다.
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(388)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 안테나 모듈은, 일실시예에 따르면, 도전체 또는 도전성 패턴으로 형성될 수 있고, 어떤 실시예에 따르면, 도전체 또는 도전성 패턴 이외에 추가적으로 다른 부품(예: RFIC)을 더 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 하나 이상의 안테나들을 포함할 수 있고, 이로부터, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, or 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
보안 엘리먼트(172)는 보안에 민감한 정보를 생성, 저장, 및/또는 관리하는 모듈이다. 보안 엘리먼트(172)는, 예를 들어, 신용 결제 서비스나 교통 카드 서비스를 제공하는 어플리케이션 프로그램(또는 어플릿)을 저장 및/또는 관리할 수 있고, 개인의 신분 또는 자격 증명과 관련된 정보 및/또는 증명서(예: 신분증명서, 주민등록 증명서, 운전면허 증명서, 출입 증명서, 여권, eID(electronic identification))를 저장 및/또는 관리할 수 있다. 보안 엘리먼트(172)는 독립적인 회로로 구현될 수 있으며, 별도의 프로세서를 포함할 수 있다. 보안 엘리먼트(172)는 별도의 프로세서를 포함하나, 프로세서(120)의 제어에 따라 동작할 수 있다. 예를 들어, 보안 엘리먼트(172)는 프로세서(120)에 종속적으로 동작할 수 있다. 보안 엘리먼트(172)는 프로세서(120) 또는 무선 통신 모듈(190)에 의해 활성화 및/또는 비활성화될 수 있다.
보안 엘리먼트(172)는 전자 장치(101)의 고정 칩 내에 내장된 내장형 보안 엘리먼트(eSE; embedded secure element)를 포함할 수 있다. 보안 엘리먼트(172)는 전자 장치(101)의 운영 체제와 다른 운영 체제를 기반으로 구동될 수 있다. 예를 들어, 보안 엘리먼트(172)는 독자적인 운영 체제를 기반으로 동작할 수 있다. 일 실시예에 따르면, 보안 엘리먼트(172)는 보안 채널 프로토콜에 기반하여 프로세서(120), 및/또는 적어도 하나의 다른 구성 요소와 통신할 수 있다. 일 실시예에 따르면, 보안 엘리먼트(172)는, SWP(single wired protocol), ISO, 또는 SPI(serial peripheral interface)를 이용하여 프로세서(120) 및/또는 적어도 하나의 다른 구성 요소들과 통신할 수 있다. 일 실시예에 따르면, 보안 엘리먼트(172)는 서비스 제공자로부터 제공되는 어플릿을 설치하고, 설치된 어플릿을 이용하여 보안 관련 서비스를 제공할 수 있다. 일 실시예에 따르면, 보안 엘리먼트(172)는 가입자 식별 모듈(196)을 포함할 수 있다. 예를 들어, 도시된 도 1에는 보안 엘리먼트(172)와 가입자 식별 모듈(196)이 별도의 모듈로 구성되어 있으나, 설계 방식에 따라 보안 엘리먼트와 가입자 식별 모듈(196)은 하나의 모듈로 구성될 수 있다.
도 2는 다양한 실시예들에 따른, 보안 엘리먼트(172)와 적어도 하나의 다른 구성 요소 사이의 통신 구조를 나타내는 블럭도(200)이다. 일실시예에 따르면, 적어도 하나의 다른 구성 요소는 도 1의 전자 장치(101)에 포함된 프로세서(120)일 수 있다.
도 2를 참조하면, 다양한 실시예에 따른 프로세서(120)(예: 도 1의 프로세서(120))는 적어도 하나의 인터페이스를 통해 직접적 및/또는 간접적으로 보안 엘리먼트(172)(예: 도 1의 보안 엘리먼트(172))와 연결될 수 있다. 적어도 하나의 인터페이스는, 예를 들어, I2C, SWP, SPI, 또는 ISO 중 적어도 하나를 포함할 수 있다. 나열된 인터페이스들은 예시적인 것으로서, 본 발명의 다양한 실시예들은 이에 한정되지 않을 것이다. 예를 들어, 프로세서(120)는 나열된 인터페이스들 이외에 다른 통신 프로토콜을 따르는 인터페이스들을 통해 직접적 및/또는 간접적으로 보안 엘리먼트(172)와 연결될 수 있다. 일실시예에 따르면, 프로세서(120)는 별도의 접근 관리자(access rule enforcer)(또는 접근 관리 모듈)를 이용하여 적어도 하나의 다른 구성 요소(예: 근거리 통신 모듈(210)(예: 도 1의 무선 통신 모듈(192)))를 통해 간접적으로 보안 엘리먼트(172)와 통신할 수 있다. 일실시예에 따르면, 프로세서(120)는 접근 권한 감시자(또는 접근 권한 감시 모듈)를 이용하여 직접적으로 보안 엘리먼트(172)와 통신할 수 있다. 일실시예에 따르면, 접근 관리자는, I2C 인터페이스에 대한 접근 권한, 및/또는 근거리 통신 모듈(210)을 통한 보안 엘리먼트(172)로의 접근 권한을 관리하는 소프트웨어 모듈일 수 있다. 일실시예에 따르면, 접근 권한 감시자는, SPI 인터페이스에 대한 접근 권한, 및/또는 SPI 인터페이스를 통한 보안 엘리먼트(172)에 대한 접근 권한을 관리하는 소프트웨어 모듈일 수 있다.
다양한 실시예들에 따르면, 프로세서(120)는 전자 장치(101)의 보안 상태를 감지할 수 있다. 일실시예에 따르면, 프로세서(120)는 전자 장치의 루팅 여부, 멀웨어(malware) 감지 여부, warranty bit의 변경(broken) 여부, 보안 엘리먼트(172)에 대한 접근 관리자의 위변조 여부, 전자 장치(101)의 시스템 영역에 대한 불법적 공격 감지 여부, 또는 전자 장치(101)에 설치된 어플리케이션에 대한 불법적 공격 감지 여부 중 적어도 하나를 감지할 수 있다. 프로세서(120)는 당업자에게 공지된 보안 상태 감지 기술을 이용하여 전자 장치(101)의 보안 상태를 감지할 수 있다. 예를 들어, 프로세서(120)는 warranty bit를 이용하여 전자 장치(101)의 보안 상태를 감지할 수 있다. 예컨대, 프로세서(120)는 전자 장치(101)의 부팅 시, warranty bit를 체크하여 부팅 이미지가 정상적인지 여부를 판단할 수 있다. 프로세서(120)는 warranty bit가 변경된 경우에 부팅 이미지가 비정상적인 것으로 결정하고, 전자 장치(101)의 보안 상태를 루팅(rooting)된 상태로 결정할 수 있다. 이는 예시적인 것으로서, 본 발명의 다양한 실시예에 따른 보안 상태를 감지하는 기법은 이에 한정되지 않는다. 예를 들어, 본 발명의 다양한 실시예에 따르면, 당업자에게 공지된 다양한 보안 상태 감지 기법들을 이용할 수 있다.
다양한 실시예들에 따르면, 프로세서(120)는 감지된 전자 장치(101)의 보안 상태를 나타내는 보안 상태 정보를 보안 엘리먼트(172)로 제공할 수 있다. 전자 장치(101)의 보안 상태 정보는, 예를 들어, 전자 장치(101)의 시스템 영역에 대한 보안 상태를 나타내는 정보, 또는 전자 장치에 설치된 어플리케이션의 보안 상태를 나타내는 정보 중 적어도 하나를 포함할 수 있다. 보안 상태 정보는, 보안 레벨(또는 보안 수준)을 나타내거나, 보안 문제의 종류를 나타내는 형태로 구성될 수 있다. 예를 들어, 보안 레벨은 0레벨부터 N레벨까지의 단계로 차등적으로 미리 정의될 수 있고, 프로세서(120)는 미리 정의된 보안 레벨에 기초하여, 현재 감지된 전자 장치(101)의 보안 상태에 대응되는 보안 레벨을 결정할 수 있다. 예를 들어, "보안 레벨 N"은 보안 레벨이 가장 높은 단계이면서 전자 장치(101)가 안전한 상태이고, "보안 레벨 0"은 보안 레벨이 가장 낮은 단계이면서 전자 장치(101)의 보안 상태가 매우 취약한 상태로 정의될 수 있다. "보안 레벨 N-a"을 전자 장치(101)가 루팅되어 보안에 취약한 상태로 정의되고, "보안 레벨 N-b"을 전자 장치(102)가 루팅되었고, 보안 엘리먼트(172)에 대한 접근 관리자가 위변조되어, 보안에 취약한 상태로 정의될 수 있다. 다른 예로, 전자 장치(101)의 보안 상태 정보는, 루팅, 접근 관리자 위변조, 멀웨어(malware) 감지, 또는 워런티 비트 깨짐 중 적어도 하나의 보안 문제가 감지된 상태임을 나타내도록 정의될 수 있다. 프로세서(120)는 전자 장치(101)의 루팅이 감지된 경우, "보안 레벨 N-a", "루팅됨"을 나타내는 보안 상태 정보를 생성하고, 생성된 보안 상태 정보를 보안 엘리먼트(172)로 제공할 수 있다. 보안 상태 정보에 대한 정의는 사업자, 및/또는 설계자에 의해 결정 및/또는 변경될 수 있다.
다양한 실시예들에 따르면, 프로세서(120)는 실시간, 주기적인 시점, 또는 지정된 이벤트 발생 시점 중 적어도 하나에 해당하는 시점에 전자 장치(101)의 보안 상태를 감지하고, 감지된 보안 상태를 나타내는 보안 상태 정보를 보안 엘리먼트(172)로 제공할 수 있다. 예를 들어, 프로세서(120)는 부팅 이벤트가 발생되는 시점, 어플리케이션 설치 시점, 소프트웨어 업데이트 시점, 또는 보안 관련 서비스 요청이 발생된 시점 중 적어도 하나의 시점에 전자 장치(101)의 보안 상태를 감지할 수 있다. 일실시예에 따르면, 프로세서(120)는 보안 상태 감지 시점마다, 감지된 전자 장치(101)의 보안 상태를 나타내는 정보를 보안 엘리먼트(172)로 제공할 수 있다. 예를 들어, 프로세서(120)는 전자 장치(101)의 보안 상태가 감지되면, 보안 엘리먼트(172)를 활성화시키고, 활성화된 보안 엘리먼트(172)로 전자 장치(101)의 보안 상태 정보를 제공할 수 있다. 일실시예에 따르면, 프로세서(120)는 전자 장치(101)의 보안 상태의 변경이 감지되면, 변경된 보안 상태를 나타내는 정보를 보안 엘리먼트(172)로 제공할 수 있다. 예를 들어, 프로세서(120)는 실시간, 주기적인 시점, 또는 지정된 이벤트 발생 시점마다 전자 장치(101)의 보안 상태를 감지하고, 현재 시점에 감지된 전자 장치(101)의 보안 상태와 이전 시점에 감지된 전자 장치(101)의 보안 상태의 적어도 일부가 상이하면, 보안 엘리먼트(172)를 활성화시키고, 현재 시점에 감지된 전자 장치(101)의 보안 상태를 나타내는 보안 상태 정보를 활성화된 보안 엘리먼트(172)로 제공할 수 있다. 일실시예에 따르면, 프로세서(120)는 보안 채널 프로토콜을 이용하여 보안 엘리먼트(172)로 보안 상태 정보를 제공할 수 있다. 예를 들어, 프로세서(120)는 신뢰할 수 있는 주체를 통해, 보안 상태 정보를 보안 엘리먼트(172)로 제공할 수 있고, 이를 통해 보안 상태 정보가 위변조되는 것을 방지할 수 있다.
다양한 실시예들에 따르면, 프로세서(120)는 사용자 입력에 기초하여 제1 어플리케이션을 실행하고, 실행 중인 제1 어플리케이션에 의해 보안 엘리먼트(172)를 이용하는 보안 관련 서비스가 요청됨을 감지할 수 있다. 프로세서(120)는 제1 어플리케이션을 이용하여 보안 엘리먼트(172)로 보안 관련 서비스를 요청하는 명령을 전송할 수 있다. 일실시예에 따르면, 프로세서(120)는 보안 관련 서비스를 요청하는 명령 전송 시, 제1 어플리케이션의 보안 상태 정보를 함께 보안 엘리먼트(172)로 전송할 수 있다. 일실시예에 따르면, 프로세서(120)는 제1 어플리케이션의 보안 상태 정보를 포함하면서, 보안 관련 서비스를 요청하는 명령 신호를 보안 엘리먼트(172)로 전송할 수 있다. 제1 어플리케이션의 보안 상태 정보는, 어플리케이션의 무결성(integrity) 및/또는 신뢰성 검증을 위해 필요한 정보(예: 어플리케이션 해시(hash) 정보)를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(120)는 보안 엘리먼트(172)로부터 보안 관련 서비스를 요청하는 명령에 대한 응답 신호를 수신할 수 있다. 프로세서(120)는 보안 엘리먼트(172)로부터의 응답 신호에 기초하여 보안 관련 서비스를 제공하거나, 보안 관련 서비스 제공 불가능함을 사용자에게 알릴 수 있다. 일 실시예에 따르면, 프로세서(120)는 응답 신호에 포함된 적어도 하나의 정보에 기초하여, 보안 엘리먼트(172)로부터 보안 관련 서비스가 허가(또는 승인)되었는지 여부를 결정할 수 있다. 프로세서(120)는 응답 신호에 보안 관련 서비스를 요청하는 명령에 대응하는 정보, 또는 보안 관련 서비스에 대한 허가(또는 승인)를 나타내는 정보가 포함된 경우, 적어도 하나의 정보에 기초하여 보안 관련 서비스를 제공할 수 있다. 프로세서(120)는 응답 신호에 보안 관련 서비스에 대한 비허가(또는 거부)를 나타내는 정보가 포함된 경우, 보안 관련 서비스를 제공할 수 없음을 나타내는 사용자 인터페이스가 제공되도록 표시 장치(160)를 제어할 수 있다. 보안 관련 서비스를 제공할 수 없음을 나타내는 사용자 인터페이스는, 보안 상태 정보를 포함할 수 있다. 예를 들어, 프로세서(120)는 보안 엘리먼트(172)로부터 수신된 응답 신호에 보안 관련 서비스에 대한 비허가(또는 거부)를 나타내는 정보와 보안 상태 정보가 포함된 경우, 보안 상태 정보를 포함하면서 보안 관련 서비스를 제공할 수 없음을 나타내는 사용자 인터페이스가 제공되도록 표시 장치(160)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(120)는 보안 관련 서비스를 요청하는 명령에 대한 응답 신호가 지정된 시간 동안 수신되지 않는 경우, 보안 관련 서비스를 제공할 수 없음을 나타내는 사용자 인터페이스가 제공되도록 표시 장치(160)를 제어할 수 있다. 예를 들어, 프로세서(120)는 보안 엘리먼트(172)로 보안 관련 서비스를 요청하는 명령을 전송한 시점부터 지정된 시간 구간 이내에 보안 엘리먼트(172)로부터 응답 신호가 수신되지 않는 경우, 보안 관련 서비스를 제공할 수 없음을 나타내는 사용자 인터페이스가 제공되도록 표시 장치(160)를 제어할 수 있다. 일 실시예에 따르면, 보안 관련 서비스를 제공할 수 없음을 나타내는 사용자 인터페이스는, 보안 상태로 인해 보안 관련 서비스를 제공할 수 없음을 나타내는 정보를 포함할 수 있다.
다양한 실시예들에 따르면, 보안 엘리먼트(172)는 적어도 하나의 인터페이스를 통해 프로세서(120), 또는 근거리 통신 모듈(210)과 통신할 수 있다. 일 실시예에 따르면, 보안 엘리먼트(172)는 프로세서(120), 또는 근거리 통신 모듈(210)에 의해 주기적, 또는 특정 시점에 활성화되어 동작할 수 있다.
다양한 실시예들에 따르면, 보안 엘리먼트(172)는 프로세서(120)로부터 보안 채널 프로토콜을 통해 보안 상태 정보를 수신하고, 수신된 보안 상태 정보를 보안 엘리먼트(172) 내부의 저장소에 저장할 수 있다. 예를 들어, 보안 상태 정보는, 보안 엘리먼트(172) 내부의 변경 불가능한(immutable) 영역에 저장될 수 있다. 보안 엘리먼트(172)는 이전 시점에 저장된 보안 상태 정보를 삭제하지 않고, 현재 시점에 프로세서(120)로부터 수신된 보안 상태 정보를 추가 저장할 수 있다. 예를 들어, 보안 엘리먼트(172)는 현재 시점의 보안 상태 정보와 과거 시점의 보안 상태 정보를 변경 불가능한 영역에 함께 저장할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 보안 상태 정보의 변경 이력 정보를 저장할 수 있다.
다양한 실시예들에 따르면, 보안 엘리먼트(172)는 보안 관련 서비스 요청 이벤트가 감지되면, 보안 엘리먼트(172) 내부의 저장소에 기 저장된 보안 상태 정보에 기반하여, 보안 관련 서비스를 제공할지 여부를 결정할 수 있다. 보안 엘리먼트(172)는 기 저장된 보안 상태 정보에 기초하여, 요청된 보안 관련 서비스에 대응하는 지정된 조건이 만족되는지 여부를 결정할 수 있다. 보안 엘리먼트(172)는 지정된 조건이 만족되는 경우, 보안 관련 서비스 제공하고, 지정된 조건이 만족되지 않는 경우, 보안 관련 서비스가 차단되도록 동작할 수 있다.
일실시예에 따르면, 보안 엘리먼트(172)는 프로세서(120)로부터 보안 관련 서비스를 요청하는 명령과 제1 어플리케이션의 보안 상태 정보를 수신할 수 있다. 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령에 기반하여, 관련 어플릿을 실행할 수 있다. 예를 들어, 보안 관련 서비스 요청 명령은, 보안 관련 서비스 요청 명령을 생성한 제1 어플리케이션의 정보(예: 식별 정보), 또는 제1 어플리케이션에 대응되는 제1 어플릿의 정보(예: 식별 정보)를 포함할 수 있다. 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령에 포함된 정보에 기초하여, 제1 어플리케이션에 대응되는 제1 어플릿을 실행할 수 있다. 제1 어플리케이션이 결제 어플리케이션(payment application)인 경우, 제1 어플릿은 결제 어플릿(payment applet)일 수 있다. 보안 엘리먼트(172)는 제1 어플릿을 이용하여 보안 엘리먼트(172) 내부의 저장소에서 기 저장된 제1 어플리케이션의 보안 상태 정보를 획득할 수 있다. 기 저장된 제1 어플리케이션의 보안 상태 정보는, 제1 어플리케이션과 제1 어플리케이션에 대응되는 제1 어플릿이 전자 장치(101)에 저장되는 시점에 프로세서(120)로부터 보안 엘리먼트(172)에 제공됨으로써, 보안 엘리먼트(172) 내부의 저장소에 저장된 정보일 수 있다. 보안 엘리먼트(172)는 프로세서(120)로부터 수신된 제1 어플리케이션의 보안 상태 정보와 보안 엘리먼트(172) 내부의 저장소로부터 획득된 제1 어플리케이션의 보안 상태 정보를 비교할 수 있다. 보안 엘리먼트(172)는 프로세서(120)로부터 수신된 제1 어플리케이션의 보안 상태 정보와 보안 엘리먼트(172) 내부의 저장소로부터 획득된 제1 어플리케이션의 보안 상태 정보가 동일한 경우, 제1 어플릿을 이용하여 보안 관련 서비스를 요청하는 명령을 처리함으로써, 요청된 보안 관련 서비스가 제공되도록 제어할 수 있다. 보안 엘리먼트(172)는 프로세서(120)로부터 수신된 제1 어플리케이션의 보안 상태 정보와 보안 엘리먼트(172) 내부의 저장소로부터 획득된 제1 어플리케이션의 보안 상태 정보가 동일하지 않은 경우, 보안 관련 서비스 제공이 불가능한 것으로 결정하고 제1 어플릿에서 보안 관련 서비스를 요청하는 명령이 처리되지 않도록 제어할 수 있다. 예를 들어, 보안 엘리먼트(172)는 프로세서(120)가 제1 어플리케이션을 이용하여 전송한 보안 관련 서비스 요청 명령을 정상적으로 처리하지 않고, 무시(또는 폐기)할 수 있다. 일실시예에 따르면, 제1 어플리케이션이 악의적인 목적으로 수정되거나 유사한 다른 어플리케이션으로 대체된 경우, 수신된 제1 어플리케이션의 보안 상태 정보와 보안 엘리먼트(172) 내부의 저장소로부터 획득된 제1 어플리케이션의 보안 상태 정보가 상이할 수 있다.
일실시예에 따르면, 보안 엘리먼트(172)는 프로세서(120), 또는 근거리 통신 모듈(예: 도 2의 근거리 통신 모듈(210))을 통해 외부 전자 장치로부터 보안 관련 서비스를 요청하는 명령(또는 신호)를 수신할 수 있다. 보안 관련 서비스 요청 명령은, 보안 관련 서비스 요청 명령에 관련된 어플릿을 나타내는 정보(예: 식별 정보)를 포함할 수 있다. 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령에 포함된 정보에 기반하여, 관련된 어플릿인 제2 어플릿을 실행할 수 있다. 제2 어플릿은 교통 카드 어플릿(transit card applet)일 수 있다. 보안 엘리먼트(172)는 제2 어플릿을 이용하여 보안 엘리먼트(172) 내부의 저장소에서 기 저장된 보안 상태 정보를 획득할 수 있다. 보안 엘리먼트(172)는 제2 어플릿을 이용하여, 기 저장된 보안 상태 정보가 지정된 조건을 만족하는지 여부를 결정할 수 있다. 예를 들어, 지정된 조건은, 전자 장치(101)에 멀웨어가 설치되지 않음을 나타내는 조건일 수 있다. 다른 예로, 지정된 조건은, 전자 장치(101)가 루팅되지 않고, 멀웨어가 설치되지 않음을 나타내는 조건일 수 있다. 또 다른 예로, 지정된 조건은, 보안 레벨 0을 포함할 수 있다. 이는 예시적인 것으로서, 본 발명의 다양한 실시예는 이에 한정되지 않는다. 보안 엘리먼트(172)는 기 저장된 보안 상태 정보가 지정된 조건을 만족하는 것으로 확인되는 경우, 제2 어플릿을 이용하여 보안 관련 서비스를 요청하는 명령을 처리함으로써, 요청된 보안 관련 서비스가 제공되도록 제어할 수 있다. 보안 엘리먼트(172)는 기 저장된 보안 상태 정보가 지정된 조건을 만족하지 않는 것으로 확인되는 경우, 보안 상태가 취약하여 보안 관련 서비스 제공이 불가능한 것으로 결정하고, 제2 어플릿에서 보안 관련 서비스를 요청하는 명령이 처리되지 않도록 제어할 수 있다. 예를 들어, 보안 엘리먼트(172)는 2 어플릿을 이용하여 보안 관련 서비스 요청 명령을 무시(또는 폐기)할 수 있다.
일실시예에 따르면, 보안 엘리먼트(172)는 보안 상태 정보와 보안 관련 서비스 요청 명령(또는 신호)이 수신된 인터페이스에 기초하여, 보안 관련 서비스 제공 여부를 결정할 수 있다. 예를 들어, 보안 엘리먼트(172)는 적어도 하나의 다른 구성 요소(예: 프로세서(120)) 또는 근거리 통신 모듈(210))와의 인터페이스에 관련된 보안 상태 정보가 지정된 조건을 만족하지 못하는 경우, 해당 인터페이스로부터 입력된 보안 관련 서비스 요청 명령을 무시하거나, 해당 인터페이스로부터의 신호 수신을 차단할 수 있다. 예컨대, 보안 상태 정보가 전자 장치(101)가 루팅되었고, 근거리 통신 모듈(210)을 통한 보안 엘리먼트(172)로의 접근 권한을 관리하는 접근 관리자(Access Rule Enforcer)가 위변조되었음을 나타내는 경우, 보안 엘리먼트(172)는 근거리 무선 통신 모듈(210)과의 인터페이스인 SWP의 보안이 취약하여 보안 관련 서비스 제공이 불가능한 것으로 결정할 수 있다. 보안 엘리먼트(172)는 SWP의 보안이 취약하여 보안 관련 서비스 제공이 불가능한 경우, SWP로부터 수신되는 보안 관련 서비스 요청 명령을 무시하거나 SWP로부터 신호가 수신되지 않도록 차단할 수 있다. 다른 예로, 보안 엘리먼트(172)는 적어도 하나의 다른 구성 요소와의 인터페이스에 관련된 보안 상태 정보가 지정된 조건을 만족하는 경우, 해당 인터페이스로부터 입력된 보안 관련 서비스 요청 명령을 정상적으로 처리함으로써, 요청된 보안 관련 서비스가 제공되도록 제어할 수 있다. 예컨대, 보안 상태 정보가 전자 장치(101)가 루팅되지 않았고, 근거리 통신 모듈(210)을 통한 보안 엘리먼트(172)로의 접근 권한을 관리하는 접근 관리자가 위변조되지 않은 상태를 나타내는 경우, 보안 엘리먼트(172)는 근거리 무선 통신 모듈(210)과의 인터페이스인 SWP의 보안에 문제가 없는 것으로 결정하고, SWP로부터 수신된 보안 관련 서비스 요청 명령을 정상적으로 처리할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)의 운영 시스템(220)은 보안 관련 서비스 요청 명령이 입력(또는 수신)되는 인터페이스를 식별할 수 있다. 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령이 입력되는 시점마다 보안 엘리먼트(172) 내부의 저장소에 저장된 보안 상태 정보를 확인하고, 확인된 보안 상태 정보와 보안 관련 서비스 요청 명령(또는 신호)이 수신된 인터페이스에 기초하여, 보안 관련 서비스 제공 여부를 결정할 수 있다.
일실시예에 따르면, 보안 엘리먼트(172)는 프로세서(120)로부터 보안 관련 서비스를 요청하는 명령을 수신할 수 있다. 보안 엘리먼트(172)는 보안 관련 서비스를 요청하는 명령에 관련된 어플릿이 존재하지 않는 경우, 보안 엘리먼트(172)는 내부 저장소에 저장된 전자 장치(101)의 보안 상태 정보를 직접 확인하여 보안 관련 서비스 제공 여부를 결정할 수 있다. 예를 들어, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령에 기반하여, 관련 어플릿이 존재 여부를 결정할 수 있다. 예컨대, 보안 관련 서비스 요청 명령은, 보안 관련 서비스 요청 명령을 생성한 제3 어플리케이션의 정보(예: 식별 정보)를 포함할 수 있다. 보안 엘리먼트(172)는 제3 어플리케이션의 정보에 기초하여, 제3 어플리케이션에 대응되는 어플릿의 존재 여부를 결정할 수 있다. 제3 어플리케이션이 금융 관련 어플리케이션인 경우, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령에 포함된 어플리케이션 정보에 기초하여, 보안 엘리먼트(172) 내에 금융 관련 어플리케이션에 대응되는 관련 어플릿이 존재하지 않음을 확인할 수 있다. 관련 어플릿이 존재하지 않는 경우, 보안 엘리먼트(172)는 운영 시스템을 통해 보안 엘리먼트(172) 내부의 저장소에 저장된 보안 상태 정보를 직접 확인하고, 확인된 보안 상태 정보에 기초하여 보안 관련 서비스제공 여부를 결정할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 내부 저장소에 저장된 전자 장치(101)의 과거 보안 상태 정보를 나타내는 보안 이력 정보와 현재 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 보안 관련 서비스 제공 여부를 결정할 수 있다. 지정된 조건은, 예를 들어, 과거 보안 상태 정보를 나타내는 보안 이력 정보와 현재 보안 상태 정보가 모두 보안 레벨 0 인 조건을 나타낼 수 있다. 이는 예시적인 것으로서, 본 발명의 다양한 실시예들은 이에 한정되지 않는다. 보안 엘리먼트(172)는 과거 보안 상태 정보를 나타내는 보안 이력 정보와 현재 보안 상태 정보가 지정된 조건을 만족하는 경우, 보안 관련 서비스 요청 명령을 처리함으로써, 요청된 보안 관련 서비스가 제공되도록 제어할 수 있다. 예를 들어, 보안 엘리먼트(172)는 과거 보안 상태 정보를 나타내는 보안 이력 정보와 현재 보안 상태 정보가 지정된 조건을 만족하는 경우, 보안 관련 서비스 요청 명령에 의해 요청된 보안 관련 정보(예: 인증서 정보)를 포함하는 응답 신호를 프로세서(120)로 제공할 수 있다. 보안 엘리먼트(172)는 과거 보안 상태 정보를 나타내는 보안 이력 정보와 현재 보안 상태 정보가 지정된 조건을 만족하지 못하는 경우, 보안 상태가 취약하여 보안 관련 서비스 제공이 불가능한 것으로 결정하고, 보안 관련 서비스 요청 명령을 정상적으로 처리하지 않고, 무시(또는 폐기)할 수 있다.
일실시예에 따르면, 보안 엘리먼트(172)는 보안 관련 서비스를 요청하는 명령에 대한 응답 신호를 전송할 수 있다. 예를 들어, 보안 엘리먼트(172)는 요청된 보안 관련 서비스가 허가(또는 승인)되거나, 비허가(또는 거부)되었음을 나타내는 응답 신호를 프로세서(120)로 제공할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 요청된 보안 관련 서비스의 제공이 불가능한 것으로 결정된 경우, 요청된 보안 관련 서비스가 비허가되었음을 나타내는 정보와 보안 상태 정보를 포함하는 응답 신호를 프로세서(120)로 제공할 수 있다.
다양한 실시예에 따르면, 근거리 통신 모듈(210)은 근거리 무선 통신망을 통해 외부 전자 장치(예: 전자 장치(102))로부터 신호를 수신하고, 수신된 신호에 기초하여 보안 엘리먼트(172)의 활성 상태를 제어할 수 있다. 근거리 통신 모듈(210)은 외부 전자 장치로부터 수신된 신호가 지정된 보안 관련 서비스를 요청하는 신호인지 여부를 결정할 수 있다. 근거리 통신 모듈(210)은 외부 전자 장치로부터 수신된 신호가 지정된 보안 관련 서비스 요청 신호인 경우, 보안 엘리먼트(172)를 활성화시키고, 외부 전자 장치로부터 수신된 신호를 보안 엘리먼트(172)로 전달할 수 있다. 근거리 통신 모듈(210)은 보안 엘리먼트(172)로부터 응답 신호가 제공되는 경우, 제공된 응답 신호를 근거리 무선 통신망을 통해 외부 전자 장치로 전송할 수 있다.
다양한 실시예에 따르면, 근거리 통신 모듈(210)은 프로세서(120)로부터 보안 엘리먼트(172)로 전달할 신호를 수신하고, 수신된 신호를 보안 엘리먼트(172)로 전달할 수 있다. 근거리 통신 모듈(210)은 보안 엘리먼트(172)로 전달할 신호가 프로세서(120)로부터 수신된 시점에 보안 엘리먼트(172)가 비활성(또는 슬립) 상태인 경우, 보안 엘리먼트(172)가 활성화되도록 제어한 후, 활성화된 보안 엘리먼트(172)로 프로세서(120)로부터의 신호를 전달할 수 있다. 근거리 통신 모듈(210)은 보안 엘리먼트(172)로부터의 응답 신호를 프로세서(120)로 전달할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101))는, 상기 전자 장치(101)의 보안 상태 정보를 획득하는 프로세서(예: 도 1의 프로세서(120)), 및 상기 프로세서(120)의 제어에 의해 동작하고, 상기 프로세서(120)로부터 상기 전자 장치(101)의 보안 상태 정보를 수신하고, 수신된 전자 장치의 보안 상태 정보를 저장하는 저장소를 포함하는 보안 엘리먼트(예: 도 1의 보안 엘리먼트(172))를 포함하고, 상기 보안 엘리먼트(172)는, 보안 관련 서비스 요청 명령을 감지하고, 상기 저장소에서 상기 전자 장치의 보안 상태 정보를 획득하고, 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시할 수 있다.
다양한 실시예에 따르면, 상기 전자 장치(101)의 보안 상태 정보는, 상기 전자 장치(101)의 루팅 여부에 대한 정보, 멀웨어(malware) 감지 여부에 대한 정보, 워런티 비트(warranty bit) 변경 여부에 대한 정보, 접근 관리자의 위변조 여부에 대한 정보, 상기 전자 장치의 시스템 영역에 대한 보안 상태 정보, 또는 상기 전자 장치에 설치된 어플리케이션에 대한 보안 상태 정보 중 적어도 하나를 포함할 수 있다.
다양한 실시예에 따르면, 상기 보안 상태 정보는, 보안 레벨, 또는 보안 문제의 종류 중 적어도 하나를 나타낼 수 있다.
다양한 실시예에 따르면, 상기 지정된 조건은, 상기 보안 관련 서비스 요청 명령의 종류에 기초하여 결정될 수 있다.
다양한 실시예에 따르면, 상기 보안 관련 서비스를 요청하는 명령은, 상기 프로세서(120), 또는 외부 전자 장치(예: 도 1의 전자 장치(102))로부터 수신될 수 있다.
다양한 실시예에 따르면, 상기 보안 엘리먼트(172)는, 상기 획득된 전자 장치(101)의 보안 상태 정보가 지정된 조건을 만족하는 경우, 상기 감지된 보안 관련 서비스 요청 명령을 정상적으로 처리하여 상기 명령에 대응되는 기능을 수행하고, 상기 획득된 전자 장치(101)의 보안 상태 정보가 지정된 조건을 만족하지 않는 경우, 상기 감지된 보안 관련 서비스 요청 명령을 무시할 수 있다.
다양한 실시예에 따르면, 상기 보안 엘리먼트(172)는, 상기 프로세서(120)로부터 상기 보안 관련 서비스 요청 명령에 관련된 어플리케이션의 보안 상태 정보를 수신하고, 상기 저장소에 저장된 상기 전자 장치(101)의 보안 상태 정보에서 상기 보안 관련 서비스 요청 명령에 관련된 어플리케이션의 보안 상태 정보를 획득하고, 상기 수신된 어플리케이션의 보안 상태 정보와 상기 획득된 어플리케이션의 보안 상태 정보가 일치하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시할 수 있다.
다양한 실시예에 따르면, 상기 프로세서(120)는, 상기 전자 장치에 상기 어플리케이션이 설치된 시점에 상기 어플리케이션의 보안 상태 정보를 결정하고, 상기 결정된 어플리케이션의 보안 상태 정보를 상기 보안 엘리먼트(172)로 전송하여 상기 보안 엘리먼트의 저장소에 저장되도록 제어할 수 있다.
다양한 실시예에 따르면, 상기 보안 엘리먼트(172)는, 상기 전자 장치(101)의 보안 상태 정보가 접근 관리자의 위변조에 관련된 조건을 만족하는지 여부를 결정하고, 상기 전자 장치(101)의 보안 상태 정보가 접근 관리자의 위변조에 관련된 조건을 만족하지 않는 경우, 상기 감지된 보안 관련 서비스 요청 명령에 대응되는 인터페이스를 확인하고, 상기 확인된 인터페이스가 상기 위변조된 접근 관리자에 대응되는 인터페이스인 경우, 상기 감지된 보안 관련 서비스 요청 명령을 무시하고, 상기 확인된 인터페이스가 상기 위변조된 접근 관리자에 대응되는 인터페이스가 아닌 경우, 상기 감지된 보안 관련 서비스 요청 명령에 대응되는 기능을 수행할 수 있다.
다양한 실시예에 따르면, 상기 보안 엘리먼트(172)는, 상기 보안 관련 서비스 요청 명령에 대한 응답 신호를 상기 프로세서(120), 또는 외부 전자 장치(102)로 제공하고, 상기 응답 신호는, 상기 보안 관련 서비스 요청 명령에 의해 요청된 정보, 보안 관련 서비스 요청 명령에 의해 수행된 기능에 대한 결과를 나타내는 정보, 또는 보안 관련 서비스에 대한 승인 여부를 나타내는 정보 중 적어도 하나를 포함할 수 있다.
도 3은 다양한 실시예들에 따른 전자 장치에서 보안 관련 서비스를 제공하는 흐름도(300)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 여기에서, 전자 장치는 도 1의 전자 장치(101)일 수 있다.
도 3을 참조하면, 다양한 실시예에 따른 전자 장치(예: 도 1의 보안 엘리먼트(172))는 동작 301에서 보안 관련 서비스 요청 이벤트를 감지할 수 있다. 보안 관련 서비스는, 보안 엘리먼트(172)에 저장된 정보, 또는 보안 엘리먼트(172)에 설치된 어플릿을 이용하는 서비스일 수 있다. 예를 들어, 보안 관련 서비스는, 보안 엘리먼트(172)에 설치된 결제 어플릿, 또는 교통 카드 어플릿을 이용하는 서비스일 수 있다. 다른 예로, 보안 관련 서비스는 보안 엘리먼트(172)에 저장된 사용자의 신분 또는 자격 증명과 관련된 증명서 또는 관련 정보를 이용하는 서비스일 수 있다. 예컨대, 보안 엘리먼트(172)는 프로세서(예: 도 1의 프로세서(120))로부터 결제 어플리케이션을 이용한 결제 요청 명령이 수신되거나, 외부 전자 장치(예: 도 1의 전자 장치(102))로부터 교통 요금 결제 요청 명령이 수신되는 경우, 보안 관련 서비스 요청 이벤트가 발생된 것으로 결정할 수 있다. 다른 예로, 보안 엘리먼트(172)는 적어도 하나의 다른 구성 요소(예: 도 1의 프로세서(120), 또는 도 2의 근거리 무선 통신 모듈(210))에 대한 인터페이스(예: SPI, 또는 SWP)로부터 보안 관련 서비스 요청 명령이 수신되는 경우, 보안 관련 서비스 요청 이벤트가 발생된 것으로 결정할 수 있다. 또 다른 예로, 보안 엘리먼트(172)는 프로세서(120)로부터 은행 어플리케이션을 이용한 사용자 인증 요청 명령이 수신되는 경우, 보안 관련 서비스 요청 이벤트가 발생된 것으로 결정할 수 있다.
다양한 실시예에 따른 전자 장치(예: 보안 엘리먼트(172))는 동작 303에서 전자 장치의 보안 상태를 나타내는 보안 상태 정보를 획득할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 보안 엘리먼트(172) 내부의 저장소에 저장된 보안 상태 정보를 획득할 수 있다. 보안 상태 정보는, 예를 들어, 전자 장치(101)의 루팅 여부, 멀웨어(malware) 감지 여부, warranty bit 변경(broken) 여부, 보안 엘리먼트(172)에 대한 접근 관리자의 위변조 여부, 전자 장치(101)의 시스템 영역에 대한 보안 상태 정보, 전자 장치(101)에 설치된 어플리케이션에 대한 보안 상태 정보 중 적어도 하나를 포함할 수 있다. 보안 상태 정보는, 보안 레벨(또는 보안 수준)을 나타내거나, 보안 문제의 종류를 나타내는 형태로 구성될 수 있다. 예를 들어, 보안 레벨은 0레벨부터 N레벨까지의 단계로 차등적으로 미리 정의될 수 있다. 예컨대, "보안 레벨 N"은 보안 레벨이 가장 높은 단계이면서 전자 장치(101)가 안전한 상태이고, "보안 레벨 0"은 보안 레벨이 가장 낮은 단계이면서 전자 장치(101)의 보안 상태가 매우 취약한 상태로 정의될 수 있다. "보안 레벨 N-a"을 전자 장치(101)가 루팅된 상태이고, "보안 레벨 N-b"을 전자 장치(102)가 루팅되었으면서 보안 엘리먼트(172)에 대한 접근 관리자가 위변조된 상태로 정의될 수 있다. 다른 예로, 보안 상태 정보는, 루팅, 접근 관리자 위변조, 멀웨어(malware) 감지, 또는 워런티 비트 깨짐 중 적어도 하나의 보안 문제가 감지된 상태임을 나타내도록 정의될 수 있다. 보안 상태 정보에 대한 정의는 사업자, 및/또는 설계자에 의해 결정 및/또는 변경될 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 보안 엘리먼트(172) 내부의 저장소에 저장된 보안 상태 정보는 현재 시점의 보안 상태 정보와 과거 시점의 보안 상태 정보를 나타내는 보안 이력 정보를 포함할 수 있다. 일실시예에 따르면, 보안 상태 정보는, 프로세서(120)에 의해 실시간, 주기적인 시점, 또는 지정된 이벤트 발생 시점 중 적어도 하나의 시점에 획득되어 보안 엘리먼트(172) 내부의 저장소에 저장될 수 있다.
다양한 실시예에 따른 전자 장치(예: 보안 엘리먼트(172))는 동작 305에서 보안 상태 정보에 기초하여 서비스 제공 여부를 결정할 수 있다. 보안 엘리먼트(172)는 획득된 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여 서비스 제공 여부를 결정할 수 있다. 일 실시예에 따르면, 보안 엘리먼트(172)는 획득된 보안 상태 정보가 지정된 조건을 만족하지 않는 경우, 요청된 보안 관련 서비스의 제공이 불가능한 상태로 결정하고, 요청된 보안 관련 서비스가 제공되지 않도록 동작할 수 있다. 예컨대, 보안 엘리먼트(172)는 적어도 하나의 다른 구성 요소로부터 입력된 보안 관련 서비스 요청 명령을 무시 또는 폐기할 수 있다. 일 실시예에 따르면, 보안 엘리먼트(172)는 획득된 보안 상태 정보가 지정된 조건을 만족하는 경우, 요청된 보안 관련 서비스의 제공이 가능한 상태로 결정하고, 요청된 보안 관련 서비스가 제공되도록 동작할 수 있다. 예컨대, 보안 엘리먼트(172)는 적어도 하나의 다른 구성 요소로부터 입력된 보안 관련 서비스 요청 명령을 정상적으로 처리할 수 있다. 일실시예에 따르면, 지정된 조건은, 감지된 보안 관련 서비스 요청 이벤트(또는 명령)의 종류에 기초하여 상이하게 결정될 수 있다. 예를 들어, 결제 어플릿을 이용하는 결제 요청 명령에 의해 보안 관련 서비스 요청 이벤트가 감지된 경우, 지정된 조건은 보안 엘리먼트(172) 내부의 저장소에 저장된 결제 어플리케이션의 보안 상태 정보(예: 해시 정보)와 프로세서(120)로부터 수신되는 결제 어플리케이션의 보안 상태 정보가 일치하는 조건을 포함할 수 있다. 다른 예로, 교통 카드 어플릿을 이용하는 교통 요금 결제 명령에 의해 보안 관련 서비스 요청 이벤트가 감지된 경우, 지정된 조건은 "루팅되지 않음, 및 멀웨어 감지되지 않음"을 나타내는 조건을 포함할 수 있다. 또 다른 예로, SWP 인터페이스를 통해 보안 관련 서비스 요청 명령이 수신되어 보안 관련 서비스 요청 이벤트가 감지된 경우, 지정된 조건은 "루팅되지 않음, 접근 관리자 위변조되지 않음"을 나타내는 조건을 포함할 수 있다. 또 다른 예로, 프로세서(120)로부터 은행 어플리케이션을 이용하여 생성된 사용자 인증 요청 명령이 수신되어 보안 관련 서비스 요청 이벤트가 감지된 경우, 지정된 조건은 현재 보안 레벨 및 과거 보안 레벨이 모두 0임을 나타내는 조건을 포함할 수 있다. 상술한 예시들은 본 발명의 이해를 돕기 위한 예시들로서, 본 발명은 이에 한정되지 않는다.
도 4는 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보를 제공하는 흐름도(400)이다. 이하 설명되는 도 4의 동작들은 도 3의 동작 303의 상세한 동작 중 적어도 일부일 수 있고, 도 3의 동작들이 수행되기 이전에 수행되는 동작들 일 수도 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 여기에서, 전자 장치는 도 1의 전자 장치(101)일 수 있다. 이하에서 도 4의 적어도 일부 동작은 도 5를 참조하여 설명할 것이다. 도 5는 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보를 저장하는 예시도이다.
도 4를 참조하면, 다양한 실시예에 따른 전자 장치(예: 도 1의 프로세서(120))는 동작 401에서 전자 장치의 보안 상태를 감지할 수 있다. 프로세서(120)는 실시간, 주기적인 시점, 또는 지정된 이벤트 발생 시점(예: 부팅 시점, 소프트웨어 업데이트 시점, 어플리케이션 설치 시점) 중 적어도 하나에 해당하는 시점에 전자 장치의 보안 상태를 감지할 수 있다. 일실시예에 따르면, 프로세서(120)는 전자 장치의 루팅 여부, 멀웨어(malware) 감지 여부, warranty bit가 변경(broken) 여부, 보안 엘리먼트(172)에 대한 접근 관리자의 위변조 여부, 전자 장치(101)의 시스템 영역에 대한 불법적 공격 감지 여부, 또는 전자 장치(101)에 설치된 어플리케이션에 대한 불법적 공격 감지 여부 중 적어도 하나를 감지할 수 있다. 프로세서(120)는 warranty bit와 같이, 당업자에게 공지된 기술을 이용하여 전자 장치의 보안 상태를 감지할 수 있다. 예컨대, 프로세서(120)는 전자 장치(101)의 부팅 시, warranty bit를 체크하여 부팅 이미지가 정상적인지 여부를 판단할 수 있다. 프로세서(120)는 warranty bit가 변경된 경우에 부팅 이미지가 비정상적인 것으로 결정하고, 전자 장치의 보안 상태를 루팅(rooting)된 상태로 결정할 수 있다. 이는 예시적인 것으로서, 본 발명은 이에 한정되지 않는다.
다양한 실시예에 따르면, 전자 장치(예: 프로세서(120))는 동작 403에서 감지된 전자 장치의 보안 상태를 나타내는 보안 상태 정보를 보안 엘리먼트(예: 도 1의 보안 엘리먼트(172))로 전달할 수 있다. 프로세서(120)는 전자 장치의 보안 상태를 나타내는 보안 상태 정보를 생성할 수 있다. 보안 상태 정보는, 상술한 도 3에서 설명한 정보들을 포함할 수 있다. 예를 들어, 프로세서(120)는 도 5에 도시된 바와 같이, 전자 장치(101)가 루팅되었는지 여부를 나타내는 보안 상태 정보(510)를 보안 채널(520)을 통해 보안 엘리먼트(172)로 전달할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 동작 405에서 보안 상태 정보를 저장할 수 있다. 보안 엘리먼트(172)는 프로세서(120)로부터 보안 상태 정보가 수신되면, 수신된 보안 상태 정보를 보안 엘리먼트(172) 내부의 저장소에 저장할 수 있다. 예를 들어, 보안 엘리먼트(172)는 보안 엘리먼트(172) 내부의 변경 불가능한(immutable) 영역에 전자 장치의 보안 상태 정보를 저장할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 이전 시점에 저장된 보안 상태 정보를 삭제하지 않고, 현재 시점에 프로세서(120)로부터 수신된 보안 상태 정보를 추가 저장할 수 있다. 예를 들어, 보안 엘리먼트(172)는 현재 시점의 보안 상태 정보와 과거 시점의 보안 상태 정보를 변경 불가능한 영역에 함께 저장할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 보안 상태 정보의 변경 이력 정보를 저장할 수 있다. 예를 들어, 보안 엘리먼트(172)는 도 5에 도시된 바와 같이, 전자 장치(101)가 루팅되었는지 여부를 나타내는 보안 상태 정보(530)를 보안 엘리먼트(172) 내부의 저장소에 저장할 수 있다.
도 6은 다양한 실시예에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 어플리케이션을 이용한 보안 관련 서비스를 제공하는 흐름도(600)이다. 이하 설명되는 도 6의 동작들은 도 3의 동작 301, 303, 및 305의 상세한 동작들 중 적어도 일부일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 여기에서, 전자 장치는 도 1의 전자 장치(101)일 수 있다. 이하에서 도 6의 적어도 일부 동작은 도 7을 참조하여 설명할 것이다. 도 7은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 어플리케이션을 이용한 보안 관련 서비스를 제공하는 예시도이다.
도 6을 참조하면, 다양한 실시예에 따른 전자 장치(예: 도 1의 프로세서(120))는 동작 601에서 제1 어플리케이션의 보안 관련 서비스 요청을 감지할 수 있다. 일실시예에 따르면, 프로세서(120)는 제1 입력에 기초하여 제1 어플리케이션을 실행하고, 실행 중인 제1 어플리케이션에 대한 제2 입력에 기초하여 보안 관련 서비스가 요청됨을 감지할 수 있다. 보안 관련 서비스는, 도 3의 동작 301에서 설명한 바와 같은 서비스를 포함할 수 있다. 예를 들어, 프로세서(120)는 결제 어플리케이션을 통해 결제 요청 이벤트가 감지되는 경우, 결제 어플리케이션을 이용한 보안 관련 서비스 요청이 발생된 것을 감지할 수 있다. 예컨대, 프로세서(120)는 도 7에 도시된 바와 같이, 결제 어플리케이션(710)이 실행된 상태에서 결제 어플리케이션을 통해 결제 요청 이벤트를 감지할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 도 1의 프로세서(120))는 동작 603에서 제1 어플리케이션의 보안 상태 정보와 보완 관련 서비스 요청 명령을 생성할 수 있다. 일실시예에 따르면, 프로세서(120)는 제1 어플리케이션의 보안 관련 서비스 요청이 감지되면, 현재 실행 중인 제1 어플리케이션의 보안 상태 정보를 생성하고, 제1 어플리케이션을 이용하여 보안 관련 서비스 요청 명령을 생성할 수 있다. 제1 어플리케이션의 보안 상태 정보는, 제1 어플리케이션의 무결성 및/또는 신뢰성 검증에 필요한 정보로, 예를 들어, 해시 정보를 포함할 수 있다. 일실시예에 따르면, 프로세서(120)는 생성된 제1 어플리케이션의 보안 상태 정보와 보안 관련 서비스 요청 명령을 보안 엘리먼트(172)로 전달할 수 있다. 예를 들어, 프로세서(120)는 도 7에 도시된 바와 같이, 결제 요청 명령(730)과 결제 어플리케이션의 보안 상태 정보(732)를 보안 엘리먼트(172)로 전달할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 도 1의 보안 엘리먼트(172))는 동작 605에서 기 저장된 제1 어플리케이션의 보안 상태 정보를 획득할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령이 수신되면, 보안 관련 서비스 요청 명령에 기반하여 제1 어플릿을 실행하고, 실행된 제1 어플릿을 이용하여 보안 엘리먼트(172) 내부의 저장소에 기 저장된 제1 어플리케이션의 보안 상태 정보를 획득할 수 있다. 예를 들어, 도 7에 도시된 바와 같이, 보안 엘리먼트(172)는 결제 요청 명령(730)이 수신되면, 결제 요청 명령에 기반하여 결제 어플릿(720)을 실행하고, 결제 어플릿(720)을 이용하여 보안 엘리먼트(172) 내부의 저장소에 저장된 결제 어플리케이션의 보안 상태 정보(740)를 확인 및 획득할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 도 1의 보안 엘리먼트(172))는 동작 607에서 기 저장된 제1 어플리케이션의 보안 상태 정보와 생성된 제1 어플리케이션의 보안 상태 정보를 비교하여 일치 여부를 결정할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 제1 어플릿을 이용하여 보안 엘리먼트(172) 내부의 저장소에 기 저장된 제1 어플리케이션의 보안 상태 정보와 프로세서(120)로부터 수신된 제1 어플리케이션의 보안 상태 정보를 비교하여 두 보안 상태 정보가 일치하는지 여부를 결정할 수 있다.
다양한 실시예에 따르면, 기 저장된 제1 어플리케이션의 보안 상태 정보와 생성된 제1 어플리케이션의 보안 상태 정보가 일치하는 경우, 전자 장치(예: 도 1의 보안 엘리먼트(172))는 동작 609에서 보안 관련 서비스 요청 명령에 대응되는 기능을 수행할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 기 저장된 제1 어플리케이션의 보안 상태 정보와 생성된 제1 어플리케이션의 보안 상태 정보가 일치하는 경우, 제1 어플리케이션의 무결성 및/또는 신뢰성이 검증된 것으로 결정하고, 제1 어플릿을 이용하여 보안 관련 서비스 요청 명령을 정상적으로 처리할 수 있다. 예를 들어, 도 7에 도시된 바와 같이, 보안 엘리먼트(172)는 결제 어플릿(720)을 이용하여 결제 요청 명령에 대응하는 결제 기능을 수행할 수 있다.
다양한 실시예에 따르면, 기 저장된 제1 어플리케이션의 보안 상태 정보와 생성된 제1 어플리케이션의 보안 상태 정보가 일치하지 않는 경우, 전자 장치(예: 도 1의 보안 엘리먼트(172))는 동작 611에서 보안 관련 서비스 요청 명령을 무시할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 기 저장된 제1 어플리케이션의 보안 상태 정보와 생성된 제1 어플리케이션의 보안 상태 정보가 일치하지 않는 경우, 제1 어플리케이션의 무결성 및/또는 신뢰성이 없는 것으로 결정하고, 제1 어플릿을 이용하여 보안 관련 서비스 요청 명령이 처리되지 않도록 제어할 수 있다. 예를 들어, 보안 엘리먼트(172)는 프로세서(120)로부터 수신된 결제 요청 명령을 무시 또는 폐기할 수 있다.
도 8은 다양한 실시예에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 어플리케이션을 이용한 보안 관련 서비스를 제공하는 신호 흐름도(800)이다. 이하 설명되는 도 8의 동작들은 도 6의 동작들 중 적어도 일부일 수 있다. 여기에서, 전자 장치는 도 1의 전자 장치(101)일 수 있다.
도 8을 참조하면, 다양한 실시예에 따른 전자 장치(101)의 프로세서(예: 도 1의 프로세서(120)는 동작 810에서 제1 어플리케이션을 이용한 보안 관련 서비스 요청을 감지할 수 있다. 일실시예에 따르면, 전자 장치(101)의 프로세서(120)는 실행 중인 제1 어플리케이션에 대한 사용자 입력에 기초하여 보안 관련 서비스가 요청됨을 감지할 수 있다. 보안 관련 서비스 요청을 감지하는 동작은 도 6의 동작 601에서 설명한 바와 같은 동작을 포함할 수 있다. 이하에서, 점선으로 표시된 동작은 실시예에 따라 생략될 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 프로세서(120)는 동작 812에서 제1 어플리케이션의 보안 상태 정보와 보완 관련 서비스 요청 명령을 보안 엘리먼트(172)로 전송할 수 있다. 일실시예에 따르면, 프로세서(120)는 제1 어플리케이션을 이용한 보안 관련 서비스 요청이 감지되면, 제1 어플리케이션을 이용하여 보안 관련 서비스 요청 명령을 생성하고, 제1 어플리케이션의 보안 상태 정보(예: 해시 정보)를 생성할 수 있다. 프로세서(120)는 생성된 보안 관련 서비스 요청 명령 및 제1 어플리케이션의 보안 상태 정보를 보안 엘리먼트(172)로 전송할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 보안 엘리먼트(172)는 동작 814에서 기 저장된 제1 어플리케이션의 보안 상태 정보를 획득할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령 및 제1 어플리케이션의 보안 상태 정보가 수신되면, 수신된 보안 관련 서비스 요청 명령에 기반하여 제1 어플릿을 실행하고, 실행된 제1 어플릿을 이용하여 보안 엘리먼트(172) 내부의 저장소에 기 저장된 제1 어플리케이션의 보안 상태 정보를 획득할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 보안엘리먼트(172)는 동작 816에서 기 저장된 제1 어플리케이션의 보안 상태 정보와 수신된 제1 어플리케이션의 보안 상태 정보를 비교하여 일치 여부를 결정할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 제1 어플릿을 이용하여 보안 엘리먼트(172) 내부의 저장소에 기 저장된 제1 어플리케이션의 보안 상태 정보와 프로세서(120)로부터 수신된 제1 어플리케이션의 보안 상태 정보를 비교하여 두 보안 상태 정보가 일치하는지 여부를 결정할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 보안 엘리먼트(172)는 동작 818에서 기 저장된 제1 어플리케이션의 보안 상태 정보와 생성된 제1 어플리케이션의 보안 상태 정보의 일치 여부에 기초하여, 보안 관련 서비스 요청 명령에 대응되는 기능을 수행하거나, 보안 관련 서비스 요청 명령을 무시할 수 있다. 기 저장된 제1 어플리케이션의 보안 상태 정보와 생성된 제1 어플리케이션의 보안 상태 정보가 일치하는 경우, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령에 대응되는 기능을 수행할 수 있다. 기 저장된 제1 어플리케이션의 보안 상태 정보와 생성된 제1 어플리케이션의 보안 상태 정보가 일치하지 않는 경우, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령을 무시할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 보안 엘리먼트(172)는 동작 820에서 보안 관련 서비스 요청에 대한 응답 신호를 프로세서(120)로 전달할 수 있다. 응답 신호는, 보안 관련 서비스 요청 명령에 의해 요청된 정보, 보안 관련 서비스 요청 명령에 의해 수행된 기능에 대한 결과를 나타내는 정보, 또는 보안 관련 서비스의 허가(또는 승인) 여부를 나타내는 정보 중 적어도 하나를 포함할 수 있다.
도 9는 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 무선 인터페이스를 통한 서비스를 제공하는 흐름도(900)이다. 이하 설명되는 도 9의 동작들은 도 3의 동작 301, 303, 및 305의 상세한 동작들 중 적어도 일부일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 여기에서, 전자 장치는 도 1의 전자 장치(101)일 수 있다. 이하에서 도 9의 적어도 일부 동작은 도 10을 참조하여 설명할 것이다. 도 10은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 어플리케이션을 이용한 보안 관련 서비스를 제공하는 예시도이다.
도 9를 참조하면, 다양한 실시예에 따른, 전자 장치(예: 도 1의 보안 엘리먼트(172))는 동작 901에서 외부 전자 장치로부터의 보안 관련 서비스 요청을 감지할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 프로세서(120), 또는 근거리 무선 통신 모듈(예: 도 2의 (210))을 통해 외부 전자 장치로부터 송신된 보안 관련 서비스 요청 명령(또는 신호)을 수신할 수 있다. 예를 들어, 도 10에 도시된 바와 같이, 보안 엘리먼트(172)는 프로세서(120), 또는 근거리 통신 모듈(210)을 통해 외부 전자 장치로부터 교통 요금 결제를 요청하는 신호를 수신할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 동작 903에서 기 저장된 보안 상태 정보가 지정된 조건을 만족하는지 여부를 결정할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 보안 관련 서비스 요청 신호에 관련된 어플릿을 이용하여 기 저장된 보안 상태 정보를 확인하고, 기 저장된 보안 상태 정보가 지정된 조건을 만족하는지 여부를 결정할 수 있다. 보안 관련 서비스 요청 신호는, 보안 관련 서비스 요청 명령에 관련된 어플릿을 나타내는 정보(예: 식별 정보)를 포함할 수 있다. 보안 엘리먼트(172)는 외부 전자 장치로부터 수신된 보안 관련 서비스 요청 신호에 포함된 정보에 기반하여, 관련된 어플릿을 실행할 수 있다. 예를 들어, 도 10에 도시된 바와 같이, 보안 엘리먼트(172)는 근거리 통신 모듈(210)을 통해 외부 전자 장치로부터 교통 요금 결제를 요청하는 신호가 수신되면, 수신된 교통 요금 결제 요청 신호에 기반하여 교통 카드 어플릿(1020)을 실행할 수 있다. 보안 엘리먼트(172)는 지정된 조건이 "멀웨어가 감지되지 않음"으로 설정된 경우, 교통 카드 어플릿(1020)을 이용하여 보안 엘리먼트(172) 내부의 저장소에 기 저장된 보안 상태 정보에서 멀웨어 감지 여부를 나타내는 정보(1030)를 확인하여 지정된 조건이 만족되는지 여부를 확인할 수 있다. 지정된 조건은, 예시적인 것으로서, 설계자 및/또는 사업자에 의해 설정 및 변경될 수 있다. 예를 들어, 지정된 조건은, 보안 레벨, 루팅 여부, 접근 관리자 위변조 여부 중 적어도 하나에 대한 조건을 포함할 수 있다.
다양한 실시예에 따르면, 기 저장된 보안 상태 정보가 지정된 조건을 만족하는 경우, 전자 장치(예: 보안 엘리먼트(172))는 동작 905에서 보안 관련 서비스 요청에 대응되는 응답 신호를 외부 전자 장치로 송신할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 기 저장된 보안 상태 정보가 지정된 조건을 만족하는 것으로 확인되는 경우, 보안 상태가 강인한 것으로 판단하고 보안 관련 서비스 제공이 가능한 것으로 결정할 수 있다. 보안 엘리먼트(172)는 제2 어플릿을 이용하여 보안 관련 서비스를 요청하는 명령을 정상적으로 처리하여, 보안 관련 서비스 요청 명령에 대한 응답 신호가 외부 전자 장치로 전송되도록 제어할 수 있다. 예를 들어, 보안 엘리먼트(172)는 보안 상태 정보가 멀웨어가 감지되지 않음을 나타내는 경우, 지정된 조건을 만족하는 것으로 결정하고, 교통 카드 어플릿(1020)을 이용하여 근거리 무선 통신망을 통한 교통 요금 결제 응답 신호가 송신되도록 제어할 수 있다.
다양한 실시예에 따르면, 기 저장된 보안 상태 정보가 지정된 조건을 만족하지 않는 경우, 전자 장치(예: 보안 엘리먼트(172))는 동작 907에서 보안 관련 서비스 요청을 무시할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 기 저장된 보안 상태 정보가 지정된 조건을 만족하지 않는 것으로 확인되는 경우, 보안 상태가 취약하여 보안 관련 서비스 제공이 불가능한 것으로 결정하고, 제2 어플릿에서 보안 관련 서비스를 요청하는 명령이 처리되지 않도록 제어할 수 있다. 예를 들어, 보안 엘리먼트(172)는 보안 상태 정보가 멀웨어가 감지됨을 나타내는 경우, 지정된 조건을 만족하지 않는 것으로 결정하고, 교통 카드 어플릿(1020)을 이용한 근거리 무선 통신망을 통한 교통 요금 결제 요청이 처리되지 않도록 제어할 수 있다. 예컨대, 보안 엘리먼트(172)는 근거리 무선 통신 모듈(예: 도 2의 근거리 무선 통신 모듈(210))을 통해 송수신되는 패킷을 감시 및 로깅하기 위한 멀웨어가 설치되었으므로, 교통 카드 어플릿(1020)을 이용하여 교통 요금 결제 요청에 대한 응답 신호가 외부 전자 장치로 송신되지 않도록 제어할 수 있다. 다른 예로, 보안 엘리먼트(172)는 근거리 무선 통신 모듈(210)을 통해 송수신되는 패킷을 감시 및 로깅하기 위한 멀웨어가 설치되었으므로, 교통 카드 어플릿(1020)을 이용하여 결제 요청을 거절하는 응답 신호가 근거리 통신망을 통해 외부 전자 장치로 전송되도록 제어할 수 있다. 결제 요청을 거절하는 응답 신호는, 결제 요청에 대한 거절 사유를 나타내는 정보를 포함할 수 있다. 예를 들어, 결제 요청을 거절하는 응답 신호는 보안 문제 감지(예: 멀웨어 감지)를 나타내는 에러 코드를 포함할 수 있다.
도 11은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 통신 인터페이스를 이용한 보안 엘리먼트에 대한 접근을 제어하는 흐름도(1100)이다. 이하 설명되는 도 11의 동작들은 도 3의 동작 301, 303, 및 305의 상세한 동작들 중 적어도 일부일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 여기에서, 전자 장치는 도 1의 전자 장치(101)일 수 있다. 이하에서 도 11의 적어도 일부 동작은 도 12를 참조하여 설명할 것이다. 도 12는 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 통신 인터페이스를 이용한 보안 엘리먼트에 대한 접근을 제어하는 예시도이다.
도 11을 참조하면, 다양한 실시예에 따른 전자 장치(예: 도 1의 보안 엘리먼트(172))는 동작 1101에서 접근 관리자의 위변조가 감지됨을 나타내는 보안 상태 정보를 획득할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 내부 저장소에 기 저장된 보안 상태 정보에서 접근 관리자가 위변조되었음을 나타내는 보안 상태 정보를 획득할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 보안 엘리먼트(172)의 운영 시스템은 기 저장된 보안 상태 정보에서 I2C 및 SWP 인터페이스에 대응되는 접근 관리자가 위변조되었음을 나타내는 정보(1242)를 획득할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 프로세서(120)로부터 보안 엘리먼트(172)에 대한 접근 관리자가 위변조되었음을 나타내는 보안 상태 정보를 수신할 수 있다. 접근 관리자는, 보안 엘리먼트(172)에 대한 접근을 제어하기 위한 접근 권한을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 동작 1103에서 위변조된 접근 관리자에 대응되는 인터페이스를 차단 인터페이스로 설정할 수 있다. 보안 엘리먼트(172)는 접근 관리자 위변조에 대응되는 인터페이스를 확인하고, 확인된 인터페이스를 차단 인터페이스로 설정할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 보안 엘리먼트(172)는 적어도 하나의 다른 구성 요소들과 보안 엘리먼트(172) 사이의 인터페이스인, SWP(1224), SPI(1222), 또는 ISO(1232) 중에서 위변조된 접근 관리자에 대응되는 인터페이스가 SWP(1224)임을 확인하고, SWP(1224)를 통신을 차단할 차단 인터페이스로 설정할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 동작 1105에서 보안 관련 서비스를 요청하는 명령이 감지되는지 여부를 결정할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)의 운영 시스템은 적어도 하나의 인터페이스를 통해 보안 엘리먼트(172)로 입력되는 보안 관련 서비스 요청 명령을 감지할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 동작 1107에서 명령 감지에 이용된 인터페이스가 차단 인터페이스인지 여부를 결정할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)의 운영 시스템은 보안 엘리먼트(172)로 입력되는 보안 관련 서비스 요청 명령이 감지되면, 보안 관련 서비스 요청 명령이 입력된 인터페이스가 차단 인터페이스인지 여부를 결정할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 보안 엘리먼트(172)는 감지된 보안 관련 서비스 요청 명령이 차단 인터페이스로 설정된 SWP(1224)를 통해 입력되었는지 여부를 결정할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 명령 감지에 이용된 인터페이스가 차단 인터페이스가 아닌 경우, 동작 1109에서 감지된 명령을 정상적으로 처리할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)의 운영 시스템은 보안 관련 서비스 요청 명령이 차단 인터페이스가 아닌 다른 인터페이스를 통해 입력된 경우, 보안 엘리먼트(172)는 입력된 보안 관련 서비스 요청 명령을 정상적으로 처리할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 보안 엘리먼트(172)의 운영 시스템은 보안 관련 서비스 요청 명령이 SPI(1222), 또는 ISO(1232)를 통해 입력된 경우, 입력된 보안 관련 서비스 요청 명령을 정상적으로 처리할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 명령 감지에 이용된 인터페이스가 차단 인터페이스인 경우, 동작 1111에서 감지된 명령을 무시할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)의 운영 시스템은 보안 관련 서비스 요청 명령이 차단 인터페이스를 통해 입력된 경우, 보안 엘리먼트(172)는 입력된 보안 관련 서비스 요청 명령을 처리하지 않고 무시할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 접근 관리자(1210)가 위변조된 경우, 허가되지 않은 어플리케이션이 위변조된 접근 관리자를 이용하여 보안 엘리먼트(172)로 접근을 시도할 수 있으므로, 보안 엘리먼트(172)는 SWP(1224)를 통해 입력되는 보안 관련 서비스 요청 명령을 무시할 수 있다.
도 13은 다양한 실시예들에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 보안 관련 정보를 제공하는 흐름도(1300)이다. 이하 설명되는 도 13의 동작들은 도 3의 동작 301, 303, 및 305의 상세한 동작들 중 적어도 일부일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 여기에서, 전자 장치는 도 1의 전자 장치(101)일 수 있다. 이하에서 도 13의 적어도 일부 동작은 도 14를 참조하여 설명할 것이다. 도 14는 다양한 실시예에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 보안 관련 정보를 제공하는 예시도이다.
도 13을 참조하면, 다양한 실시예에 따른 전자 장치(예: 도 1의 프로세서(120))는 동작 1301에서 제3 어플리케이션의 보안 관련 서비스 요청을 감지할 수 있다. 일실시예에 따르면, 프로세서(120)는 제1 입력에 기초하여 제3 어플리케이션을 실행하고, 실행 중인 제3 어플리케이션에 대한 제2 입력에 기초하여 보안 관련 서비스가 요청됨을 감지할 수 있다. 보안 관련 서비스는, 도 3의 동작 301에서 설명한 바와 같은 서비스를 포함할 수 있다. 예를 들어, 프로세서(120)는 금융 관련 어플리케이션을 통해 인증 요청 이벤트가 감지되는 경우, 금융 관련 어플리케이션을 이용한 보안 관련 서비스 요청이 발생된 것을 감지할 수 있다. 예컨대, 프로세서(120)는 도 14에 도시된 바와 같이, 금융 관련 어플리케이션(1410)이 실행된 상태에서 사용자 인증 요청 이벤트를 감지할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 프로세서(120))는 동작 1303에서 보안 관련 서비스 요청 명령을 생성할 수 있다. 일실시예에 따르면, 프로세서(120)는 제3 어플리케이션을 이용하여 보안 관련 서비스 요청 명령을 생성할 수 있다. 예를 들어, 프로세서(120)는 금융 관련 어플리케이션을 이용하여 사용자 인증 요청 명령을 생성할 수 있다. 일실시예에 따르면, 보안 관련 서비스 요청 명령은 금융 관련 어플리케이션의 정보(예: 식별 정보)를 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 동작 1305에서 기 저장된 보안 상태 정보를 획득할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 프로세서(120)로부터 보안 관련 서비스 요청 명령이 수신되면, 보안 엘리먼트(172) 내부의 저장소에 저장된 보안 상태 정보를 획득할 수 있다. 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령에 기반하여, 관련 어플릿이 존재하지 않음을 결정할 수 있다. 예를 들어, 보안 관련 서비스 요청 명령은, 보안 관련 서비스 요청 명령에 포함된 정보에 기초하여, 제3 어플리케이션에 대응되는 어플릿이 존재하지 않음을 결정할 수 있다. 보안 엘리먼트(172)는 운영 시스템을 이용하여 보안 엘리먼트(172) 내부의 저장소에 저장된 보안 상태 정보를 획득할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 보안 엘리먼트(172))는 동작 1307에서 기 저장된 보안 상태 정보가 지정된 조건을 만족하는지 여부를 결정할 수 있다. 일 실시예에 따르면, 보안 엘리먼트(172)는 내부 저장소에 저장된 전자 장치(101)의 과거 보안 상태 정보를 나타내는 보안 이력 정보와 현재 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 보안 관련 서비스 제공 여부를 결정할 수 있다. 예컨대, 도 14에 도시된 바와 같이, 보안 엘리먼트(172)는 내부 저장소에서 현재 보안상태 정보(1422)와 보안 이력 정보(1420)를 획득하고, 획득된 정보들이 지정된 조건을 만족하는지 여부를 결정할 수 있다. 지정된 조건은, 예를 들어, 과거 보안 상태 정보를 나타내는 보안 이력 정보와 현재 보안 상태 정보가 모두 보안 레벨 0인 조건을 나타낼 수 있다. 이는 예시적인 것으로서, 본 발명의 다양한 실시예들은 이에 한정되지 않는다. 예를 들어, 지정된 조건은, 루팅 여부 및 멀웨어 감지 여부에 대한 조건일 수 있다. 보안 엘리먼트(172)는 지정된 조건에 기초하여, 보안 엘리먼트(172) 내부의 저장소에서 보안 상태 정보를 획득하고, 획득된 보안 상태 정보가 지정된 조건을 만족하는지 여부를 결정할 수 있다.
다양한 실시예에 따르면, 기 저장된 보안 상태 정보가 지정된 조건을 만족하는 경우, 전자 장치(예: 보안 엘리먼트(172))는 동작 1309에서 보안 관련 서비스 요청에 대한 응답 신호를 제공할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 현재 보안 상태 정보와 보안 이력 정보가 지정된 조건을 만족하는 경우, 보안 관련 서비스 요청 명령을 처리함으로써, 요청된 보안 관련 서비스가 제공되도록 제어할 수 있다. 예를 들어, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령에 의해 요청된 보안 관련 정보(예: 인증서 정보)를 포함하는 응답 신호를 프로세서(120)로 제공할 수 있다.
다양한 실시예에 따르면, 기 저장된 보안 상태 정보가 지정된 조건을 만족하지 않는 경우, 전자 장치(예: 보안 엘리먼트(172))는 동작 1311에서 보안 관련 서비스 요청 명령을 무시할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 현재 보안 상태 정보와 보안 이력 정보가 지정된 조건을 만족하지 않는 경우, 보안 관련 서비스 요청 명령을 무시함으로써, 요청된 보안 관련 서비스가 제공되지 않도록 제어할 수 있다. 보안 엘리먼트(172)는 과거 보안 상태 정보를 나타내는 보안 이력 정보와 현재 보안 상태 정보가 지정된 조건을 만족하지 못하는 경우, 보안 상태로 인해 서비스가 불가능함을 나타내는 응답 신호를 프로세서(120)로 제공할 수 있다.
도 15는 다양한 실시예에 따른 전자 장치에서 전자 장치의 보안 상태 정보에 기초하여 보안 관련 정보를 제공하는 신호 흐름도(1500)이다. 이하 설명되는 도 15의 동작들은 도 13의 동작들 중 적어도 일부일 수 있다. 여기에서, 전자 장치는 도 1의 전자 장치(101)일 수 있다. 이하에서, 점선으로 표시된 동작은 실시예에 따라 생략될 수 있다.
도 15를 참조하면, 다양한 실시예에 따른 전자 장치(101)의 프로세서(예: 도 1의 프로세서(120)는 동작 1510에서 제3 어플리케이션을 이용한 보안 관련 서비스 요청을 감지할 수 있다. 일실시예에 따르면, 전자 장치(101)의 프로세서(120)는 실행 중인 제3 어플리케이션에 대한 사용자 입력에 기초하여 보안 관련 서비스가 요청됨을 감지할 수 있다. 보안 관련 서비스 요청을 감지하는 동작은 도 13의 동작 1301에서 설명한 바와 같은 동작을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 프로세서(120)는 동작 1512에서 보안 관련 서비스 요청 명령을 보안 엘리먼트(예: 도1의 보안 엘리먼트(172))로 전송할 수 있다. 일실시예에 따르면, 프로세서(120)는 제3 어플리케이션을 이용한 보안 관련 서비스 요청이 감지되면, 제3 어플리케이션을 이용하여 보안 관련 서비스 요청 명령을 생성하고, 생성된 보안 관련 서비스 요청 명령을 보안 엘리먼트(172)로 전송할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 보안 엘리먼트(172)는 동작 1514에서 기 저장된 보안 상태 정보를 획득할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 프로세서(120)로부터 보안 관련 서비스 요청 명령이 수신되면, 수신된 보안 관련 서비스 요청 명령에 기반하여, 관련 어플릿이 존재하지 않음을 결정할 수 있다. 예를 들어, 보안 관련 서비스 요청 명령은, 보안 관련 서비스 요청 명령에 포함된 정보에 기초하여, 제3 어플리케이션에 대응되는 어플릿이 존재하지 않음을 결정할 수 있다. 보안 엘리먼트(172)는 운영 시스템을 이용하여 보안 엘리먼트(172) 내부의 저장소에 저장된 보안 상태 정보를 획득할 수 있다. 예를 들어, 보안 엘리먼트(172)는 내부 저장소에서 현재 보안 상태 정보와 보안 이력 정보를 포함하는 보안 상태 정보를 획득할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 보안엘리먼트(172)는 동작 1516에서 기 저장된 보안 상태 정보가 지정된 조건을 만족하는지 여부를 결정할 수 있다. 일실시예에 따르면, 보안 엘리먼트(172)는 현재 보안 상태 정보와 보안 이력 정보가 지정된 조건을 만족하는지 여부를 결정할 수 있다. 지정된 조건은, 예를 들어, 현재 보안 상태 정보와 보안 이력 정보가 모두 보안 레벨 0인 조건을 나타낼 수 있다. 이는 예시적인 것으로서, 본 발명의 다양한 실시예들은 이에 한정되지 않는다. 예를 들어, 지정된 조건은, 루팅 여부 및 멀웨어 감지 여부에 대한 조건일 수 있다. 보안 엘리먼트(172)는 보안 엘리먼트(172) 내부의 저장소에서 지정된 조건에 관련된 보안 상태 정보를 획득하고, 획득된 보안 상태 정보가 지정된 조건을 만족하는지 여부를 결정할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 보안 엘리먼트(172)는 동작 1518에서 기 저장된 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 보안 관련 서비스를 제공하거나, 보안 관련 서비스 요청 명령을 무시하도록 결정할 수 있다. 기 저장된 보안 상태 정보가 지정된 조건을 만족하는 경우, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령을 정상적으로 처리하여 요청된 보안 관련 서비스가 제공되도록 할 수 있다. 기 저장된 보안 상태 정보가 지정된 조건을 만족하지 않는 경우, 보안 엘리먼트(172)는 보안 관련 서비스 요청 명령을 무시하여 요청된 보안 관련 서비스가 제공되지 않도록 할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 보안 엘리먼트(172)는 동작 1520에서 서비스 요청에 대한 응답 신호를 프로세서(120)로 전달할 수 있다. 응답 신호는, 보안 관련 서비스 요청 명령에 의해 요청된 정보, 보안 관련 서비스 요청 명령에 의해 수행된 기능에 대한 결과를 나타내는 정보, 또는 보안 관련 서비스의 허가(또는 승인) 여부를 나타내는 정보 중 적어도 하나를 포함할 수 있다.
상술한 다양한 실시예들에서는, 전자 장치(101)의 보안 엘리먼트(172)에 전자 장치(101)의 보안 상태를 나타내는 보안 상태 정보를 저장하고, 이를 이용하여 보안 관련 서비스 제공 여부를 결정하는 것에 대해 설명하였다. 그러나, 다양한 실시예들에 따르면, 전자 장치(101)의 보안 엘리먼트(172)는 적어도 하나의 외부 전자 장치(예: 도 1의 전자 장치(102))의 보안 상태 정보를 저장할 수 있다. 예를 들어, 보안 엘리먼트(172)는 적어도 하나의 외부 전자 장치(102)의 루팅 여부, 적어도 하나의 외부 전자 장치(102)의 멀웨어 감지 여부, 적어도 하나의 외부 전자 장치(102)의 warranty bit의 변경 여부, 적어도 하나의 외부 전자 장치(102)의 보안 엘리먼트(172)에 대한 접근 관리자의 위변조 여부, 적어도 하나의 외부 전자 장치(102)의 시스템 영역에 대한 보안 상태 정보, 또는 적어도 하나의 외부 전자 장치(102)에 설치된 어플리케이션에 대한 보안 상태 정보 중 적어도 하나를 저장할 수 있다. 전자 장치(101)는 프로세서(120) 및/또는 통신 모듈(190)을 통해 적어도 하나의 외부 전자 장치로부터 보안 관련 서비스 요청 명령(또는 신호)을 수신하고, 보안 엘리먼트(172)를 통해 보안 엘리먼트(172) 내부의 저장소에 기 저장된 적어도 하나의 외부 전자 장치의 보안 상태 정보에 기초하여, 적어도 하나의 외부 전자 장치로부터 요청된 보안 관련 서비스를 제공할지 여부를 결정할 수 있다. 예를 들어, 전자 장치(101)의 보안 엘리먼트(172)는 내부의 저장소에 기 저장된 적어도 하나의 외부 전자 장치의 보안 상태 정보에 기초하여, 보안 관련 서비스 요청 명령을 정상적으로 처리하거나, 무시할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101))의 동작 방법은, 프로세서(예: 도 1의 프로세서(120))에서, 상기 전자 장치의 보안 상태 정보를 획득하는 동작, 상기 프로세서(120)의 제어에 의해 동작하는 보안 엘리먼트에서, 상기 전자 장치의 보안 상태 정보를 상기 보안 엘리먼트(예: 도 1의 보안 엘리먼트(172)) 내부의 저장소에 저장하는 동작, 상기 보안 엘리먼트(172)에서, 보안 관련 서비스 요청 명령을 감지하는 동작, 상기 보안 엘리먼트(172)에서 상기 내부의 저장소에 저장된 상기 전자 장치의 보안 상태 정보를 획득하는 동작, 및 상기 보안 엘리먼트(172)에서, 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 전자 장치의 보안 상태 정보는, 상기 전자 장치의 루팅 여부에 대한 정보, 멀웨어(malware) 감지 여부에 대한 정보, 워런티 비트(warranty bit) 변경 여부에 대한 정보, 접근 관리자의 위변조 여부에 대한 정보, 상기 전자 장치의 시스템 영역에 대한 보안 상태 정보, 또는 상기 전자 장치에 설치된 어플리케이션에 대한 보안 상태 정보 중 적어도 하나를 포함할 수 있다.
다양한 실시예에 따르면, 상기 보안 상태 정보는, 보안 레벨, 또는 보안 문제의 종류 중 적어도 하나를 나타낼 수 있다.
다양한 실시예에 따르면, 상기 지정된 조건은, 상기 보안 관련 서비스 요청 명령의 종류에 기초하여 결정될 수 있다.
다양한 실시예에 따르면, 상기 보안 관련 서비스를 요청하는 명령은, 상기 프로세서(120), 또는 외부 전자 장치(예: 도 1의 전자 장치(102))로부터 수신될 수 있다.
다양한 실시예에 따르면, 상기 보안 엘리먼트(172)에서, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작은, 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는 경우, 상기 보안 엘리먼트(172)에서, 상기 감지된 보안 관련 서비스 요청 명령을 정상적으로 처리하여 상기 명령에 대응되는 기능을 수행하는 동작, 및 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하지 않는 경우, 상기 보안 엘리먼트(172)에서, 상기 감지된 보안 관련 서비스 요청 명령을 무시하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 보안 엘리먼트(172)에서, 상기 프로세서(120)로부터 상기 보안 관련 서비스 요청 명령에 관련된 어플리케이션의 보안 상태 정보를 수신하는 동작을 더 포함하며, 상기 보안 엘리먼트(172)에서, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작은, 상기 보안 엘리먼트(172)에서, 획득된 보안 상태 정보에서 상기 보안 관련 서비스 요청 명령에 관련된 어플리케이션의 보안 상태 정보를 확인하는 동작, 상기 보안 엘리먼트(172)에서, 상기 수신된 어플리케이션의 보안 상태 정보와 상기 확인된 어플리케이션의 보안 상태 정보가 일치하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 프로세서(120)에서, 상기 전자 장치에 상기 어플리케이션이 설치되는 시점에 상기 어플리케이션의 보안 상태 정보를 결정하는 동작, 및 상기 프로세서(120)에서, 상기 결정된 어플리케이션의 보안 상태 정보를 상기 보안 엘리먼트(172)로 전송하여 상기 보안 엘리먼트(172)의 저장소에 저장되도록 제어하는 동작을 더 포함할 수 있다.
다양한 실시예에 따르면, 상기 보안 엘리먼트(172)에서, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작은, 상기 보안 엘리먼트(172)에서, 상기 전자 장치의 보안 상태 정보가 접근 관리자의 위변조에 관련된 조건을 만족하는지 여부를 결정하는 동작, 상기 전자 장치의 보안 상태 정보가 접근 관리자의 위변조에 관련된 조건을 만족하지 않는 경우, 상기 보안 엘리먼트(172)에서 상기 감지된 보안 관련 서비스 요청 명령에 대응되는 인터페이스를 확인하는 동작, 상기 확인된 인터페이스가 상기 위변조된 접근 관리자에 대응되는 인터페이스인 경우, 상기 보안 엘리먼트(172)에서, 상기 감지된 보안 관련 서비스 요청 명령을 무시하는 동작, 및 상기 확인된 인터페이스가 상기 위변조된 접근 관리자에 대응되는 인터페이스가 아닌 경우, 상기 보안 엘리먼트(172)에서, 상기 감지된 보안 관련 서비스 요청 명령에 대응되는 기능을 수행하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 보안 엘리먼트(172)에서, 상기 보안 관련 서비스 요청 명령에 대한 응답 신호를 상기 프로세서(120), 또는 외부 전자 장치(102)로 제공하는 동작을 더 포함하며, 상기 응답 신호는, 상기 보안 관련 서비스 요청 명령에 의해 요청된 정보, 보안 관련 서비스 요청 명령에 의해 수행된 기능에 대한 결과를 나타내는 정보, 또는 보안 관련 서비스에 대한 승인 여부를 나타내는 정보 중 적어도 하나를 포함할 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나,""A, B 또는 C," "A, B 및 C 중 적어도 하나,"및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    상기 전자 장치의 보안 상태 정보를 획득하는 프로세서; 및
    상기 프로세서의 제어에 의해 동작하고, 상기 프로세서로부터 상기 전자 장치의 보안 상태 정보를 수신하고, 수신된 전자 장치의 보안 상태 정보를 저장하는 저장소를 포함하는 보안 엘리먼트를 포함하고,
    상기 보안 엘리먼트는,
    보안 관련 서비스 요청 명령을 감지하고,
    상기 저장소에서 상기 전자 장치의 보안 상태 정보를 획득하고,
    상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 전자 장치.
  2. 제1항에 있어서,
    상기 전자 장치의 보안 상태 정보는, 상기 전자 장치의 루팅 여부에 대한 정보, 멀웨어(malware) 감지 여부에 대한 정보, 워런티 비트(warranty bit) 변경 여부에 대한 정보, 접근 관리자의 위변조 여부에 대한 정보, 상기 전자 장치의 시스템 영역에 대한 보안 상태 정보, 또는 상기 전자 장치에 설치된 어플리케이션에 대한 보안 상태 정보 중 적어도 하나를 포함하는 전자 장치.
  3. 제1항에 있어서,
    상기 보안 상태 정보는, 보안 레벨, 또는 보안 문제의 종류 중 적어도 하나를 나타내는 전자 장치.
  4. 제1항에 있어서,
    상기 지정된 조건은, 상기 보안 관련 서비스 요청 명령의 종류에 기초하여 결정되는 전자 장치.
  5. 제1항에 있어서,
    상기 보안 관련 서비스를 요청하는 명령은, 상기 프로세서, 또는 외부 전자 장치로부터 수신되는 전자 장치.
  6. 제1항에 있어서,
    상기 보안 엘리먼트는, 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는 경우, 상기 감지된 보안 관련 서비스 요청 명령을 정상적으로 처리하여 상기 명령에 대응되는 기능을 수행하고,
    상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하지 않는 경우, 상기 감지된 보안 관련 서비스 요청 명령을 무시하는 전자 장치.
  7. 제1항에 있어서,
    상기 보안 엘리먼트는, 상기 프로세서로부터 상기 보안 관련 서비스 요청 명령에 관련된 어플리케이션의 보안 상태 정보를 수신하고,
    상기 저장소에 저장된 상기 전자 장치의 보안 상태 정보에서 상기 보안 관련 서비스 요청 명령에 관련된 어플리케이션의 보안 상태 정보를 획득하고,
    상기 수신된 어플리케이션의 보안 상태 정보와 상기 획득된 어플리케이션의 보안 상태 정보가 일치하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 전자 장치.
  8. 제7항에 있어서,
    상기 프로세서는, 상기 전자 장치에 상기 어플리케이션이 설치된 시점에 상기 어플리케이션의 보안 상태 정보를 결정하고,
    상기 결정된 어플리케이션의 보안 상태 정보를 상기 보안 엘리먼트로 전송하여 상기 보안 엘리먼트의 저장소에 저장되도록 제어하는 전자 장치.
  9. 제1항에 있어서,
    상기 보안 엘리먼트는, 상기 전자 장치의 보안 상태 정보가 접근 관리자의 위변조에 관련된 조건을 만족하는지 여부를 결정하고,
    상기 전자 장치의 보안 상태 정보가 접근 관리자의 위변조에 관련된 조건을 만족하지 않는 경우, 상기 감지된 보안 관련 서비스 요청 명령에 대응되는 인터페이스를 확인하고,
    상기 확인된 인터페이스가 상기 위변조된 접근 관리자에 대응되는 인터페이스인 경우, 상기 감지된 보안 관련 서비스 요청 명령을 무시하고,
    상기 확인된 인터페이스가 상기 위변조된 접근 관리자에 대응되는 인터페이스가 아닌 경우, 상기 감지된 보안 관련 서비스 요청 명령에 대응되는 기능을 수행하는 전자 장치.
  10. 제9항에 있어서,
    상기 보안 엘리먼트는, 상기 보안 관련 서비스 요청 명령에 대한 응답 신호를 상기 프로세서, 또는 외부 전자 장치로 제공하고,
    상기 응답 신호는, 상기 보안 관련 서비스 요청 명령에 의해 요청된 정보, 보안 관련 서비스 요청 명령에 의해 수행된 기능에 대한 결과를 나타내는 정보, 또는 보안 관련 서비스에 대한 승인 여부를 나타내는 정보 중 적어도 하나를 포함하는 전자 장치.
  11. 전자 장치의 동작 방법에 있어서,
    프로세서에서, 상기 전자 장치의 보안 상태 정보를 획득하는 동작;
    상기 프로세서의 제어에 의해 동작하는 보안 엘리먼트에서, 상기 전자 장치의 보안 상태 정보를 상기 보안 엘리먼트 내부의 저장소에 저장하는 동작;
    상기 보안 엘리먼트에서, 보안 관련 서비스 요청 명령을 감지하는 동작;
    상기 보안 엘리먼트에서 상기 내부의 저장소에 저장된 상기 전자 장치의 보안 상태 정보를 획득하는 동작; 및
    상기 보안 엘리먼트에서, 상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작을 포함하는 방법.
  12. 제11항에 있어서,
    상기 전자 장치의 보안 상태 정보는, 상기 전자 장치의 루팅 여부에 대한 정보, 멀웨어(malware) 감지 여부에 대한 정보, 워런티 비트(warranty bit) 변경 여부에 대한 정보, 접근 관리자의 위변조 여부에 대한 정보, 상기 전자 장치의 시스템 영역에 대한 보안 상태 정보, 또는 상기 전자 장치에 설치된 어플리케이션에 대한 보안 상태 정보 중 적어도 하나를 포함하며,
    상기 보안 상태 정보는, 보안 레벨, 또는 보안 문제의 종류 중 적어도 하나를 나타내며,
    상기 지정된 조건은, 상기 보안 관련 서비스 요청 명령의 종류에 기초하여 결정되고,
    상기 보안 관련 서비스를 요청하는 명령은, 상기 프로세서, 또는 외부 전자 장치로부터 수신되는 방법.
  13. 제11항에 있어서,
    상기 보안 엘리먼트에서, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작은,
    상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하는 경우, 상기 보안 엘리먼트에서, 상기 감지된 보안 관련 서비스 요청 명령을 정상적으로 처리하여 상기 명령에 대응되는 기능을 수행하는 동작; 및
    상기 획득된 전자 장치의 보안 상태 정보가 지정된 조건을 만족하지 않는 경우, 상기 보안 엘리먼트에서, 상기 감지된 보안 관련 서비스 요청 명령을 무시하는 동작을 포함하는 방법.
  14. 제11항에 있어서,
    상기 보안 엘리먼트에서, 상기 프로세서로부터 상기 보안 관련 서비스 요청 명령에 관련된 어플리케이션의 보안 상태 정보를 수신하는 동작을 더 포함하며,
    상기 보안 엘리먼트에서, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작은,
    상기 보안 엘리먼트에서, 획득된 보안 상태 정보에서 상기 보안 관련 서비스 요청 명령에 관련된 어플리케이션의 보안 상태 정보를 확인하는 동작; 및
    상기 보안 엘리먼트에서, 상기 수신된 어플리케이션의 보안 상태 정보와 상기 확인된 어플리케이션의 보안 상태 정보가 일치하는지 여부에 기초하여, 상기 감지된 보안 관련 서비스 요청 명령을 처리 또는 무시하는 동작을 포함하는 방법.
  15. 제14항에 있어서,
    상기 프로세서에서, 상기 전자 장치에 상기 어플리케이션이 설치되는 시점에 상기 어플리케이션의 보안 상태 정보를 결정하는 동작; 및
    상기 프로세서에서, 상기 결정된 어플리케이션의 보안 상태 정보를 상기 보안 엘리먼트로 전송하여 상기 보안 엘리먼트의 저장소에 저장되도록 제어하는 동작을 더 포함하는 방법.
PCT/KR2019/011774 2018-09-20 2019-09-11 보안 엘리먼트를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법 WO2020060101A1 (ko)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP19862674.9A EP3839783A4 (en) 2018-09-20 2019-09-11 ELECTRONIC DEVICE FOR PROVIDING A SERVICE BY USE OF A SECURE ELEMENT, AND ITS OPERATING PROCEDURE
US17/277,600 US11921857B2 (en) 2018-09-20 2019-09-11 Electronic device for providing service by using secure element, and operating method thereof
CN201980061881.9A CN112740209A (zh) 2018-09-20 2019-09-11 通过使用安全元件提供服务的电子装置及其操作方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020180112989A KR102605461B1 (ko) 2018-09-20 2018-09-20 보안 엘리먼트를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법
KR10-2018-0112989 2018-09-20

Publications (1)

Publication Number Publication Date
WO2020060101A1 true WO2020060101A1 (ko) 2020-03-26

Family

ID=69887549

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/011774 WO2020060101A1 (ko) 2018-09-20 2019-09-11 보안 엘리먼트를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법

Country Status (5)

Country Link
US (1) US11921857B2 (ko)
EP (1) EP3839783A4 (ko)
KR (1) KR102605461B1 (ko)
CN (1) CN112740209A (ko)
WO (1) WO2020060101A1 (ko)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115699991A (zh) * 2021-05-28 2023-02-03 柏思科技有限公司 使用多个远程订户识别模块配置文件的方法和系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120057871A (ko) * 2010-11-29 2012-06-07 인포섹(주) 보안 등급에 따라 어플리케이션의 실행을 제어하는 모바일 단말기 및 이의 구현방법
US20120178420A1 (en) * 2008-05-02 2012-07-12 Research In Motion Limited Coordinated security systems and methods for an electronic device
KR20120136126A (ko) * 2011-06-08 2012-12-18 충남대학교산학협력단 휴대단말에서 악성행위 처리 방법 및 장치
KR20130015236A (ko) * 2011-08-02 2013-02-13 주식회사 케이티 단말 보안을 수행하는 사용자 단말 및 서비스 서버 장치
KR20140139752A (ko) * 2013-05-28 2014-12-08 주식회사 인프라웨어테크놀러지 루팅 검출방법 및 검출장치
KR20170077425A (ko) * 2015-12-28 2017-07-06 삼성전자주식회사 전자 장치 및 전자 장치의 핸드오프를 이용한 결제 수행 방법

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162408B2 (en) * 2003-12-15 2007-01-09 Microsoft Corporation Subscriber identification module (SIM) emulator
FR2880441B1 (fr) 2004-12-31 2010-06-18 Trusted Logic Chargement dynamique securise
US8087067B2 (en) * 2008-10-21 2011-12-27 Lookout, Inc. Secure mobile platform system
IN2012DN01925A (ko) * 2009-12-04 2015-07-24 Ericsson Telefon Ab L M
US20120137369A1 (en) 2010-11-29 2012-05-31 Infosec Co., Ltd. Mobile terminal with security functionality and method of implementing the same
WO2013006553A1 (en) * 2011-07-01 2013-01-10 Fiberlink Communications Corporation Rules based actions for mobile device management
EP2800022A4 (en) * 2011-12-30 2015-09-09 Mozido Corfire Korea Ltd SYSTEM AND METHOD FOR CONTROLLING ACCESS TO APPLETS
US9064247B2 (en) * 2012-06-19 2015-06-23 Microsoft Technology Licensing, Llc User-configurable activation of card applets
US10075848B2 (en) * 2012-08-25 2018-09-11 T-Mobile Usa, Inc. SIM level mobile security
EP2725835A1 (en) * 2012-10-24 2014-04-30 Gemalto SA Method for authenticating a user
US8706081B1 (en) * 2012-12-18 2014-04-22 Google Inc. Packet inspection in near field communication controller for secure element protection
US10152706B2 (en) * 2013-03-11 2018-12-11 Cellco Partnership Secure NFC data authentication
WO2014160715A1 (en) * 2013-03-26 2014-10-02 Jvl Ventures, Llc Systems, methods, and computer program products for managing access control
US8904195B1 (en) * 2013-08-21 2014-12-02 Citibank, N.A. Methods and systems for secure communications between client applications and secure elements in mobile devices
EP2894588B1 (en) * 2014-01-13 2018-08-15 Nxp B.V. Data processing device, method for executing an application and computer program product
US9977890B2 (en) * 2014-08-22 2018-05-22 Mobeewave, Inc. Method and device for controlling access from the device to a card via a NFC interface
KR102354586B1 (ko) 2015-08-11 2022-01-24 삼성전자주식회사 전자 장치 상태에 따른 제어 방법 및 그 장치
US10846696B2 (en) * 2015-08-24 2020-11-24 Samsung Electronics Co., Ltd. Apparatus and method for trusted execution environment based secure payment transactions
EP3142056A1 (en) * 2015-09-09 2017-03-15 Samsung Electronics Co., Ltd. Method and apparatus for performing payment
KR20170041465A (ko) * 2015-10-07 2017-04-17 삼성전자주식회사 결제 서비스 제공 방법 및 이를 구현한 전자 장치
US9817992B1 (en) * 2015-11-20 2017-11-14 Sprint Communications Company Lp. System and method for secure USIM wireless network access
JP7186163B2 (ja) * 2016-04-14 2022-12-08 シークエント ソフトウェア、インコーポレイテッド ポータブル電子デバイスと関連したデジタルシークレットの生成、格納、管理および使用のためのシステムおよび方法
US11151566B2 (en) * 2016-09-19 2021-10-19 Early Warning Services, Llc Authentication and fraud prevention in provisioning a mobile wallet
KR20190039603A (ko) * 2016-11-15 2019-04-12 후아웨이 테크놀러지 컴퍼니 리미티드 보안 프로세서 칩 및 단말 장치
KR20180065237A (ko) * 2016-12-07 2018-06-18 삼성전자주식회사 전자 장치 및 전자 장치의 카드 등록 방법
WO2018119904A1 (zh) * 2016-12-29 2018-07-05 华为技术有限公司 一种实现安全操作系统切换的片上系统和方法
WO2018222757A1 (en) * 2017-06-02 2018-12-06 Apple Inc. Notification based provisioning of card accounts
US10482258B2 (en) * 2017-09-29 2019-11-19 Nxp Usa, Inc. Method for securing runtime execution flow
CN108337235B (zh) * 2017-12-28 2020-12-15 天地融科技股份有限公司 一种利用安全设备执行安全操作的方法及系统
EP3764258B1 (en) * 2018-04-27 2023-07-26 Huawei Technologies Co., Ltd. Constructing common trusted application for a plurality of applications
US10778444B2 (en) * 2018-07-11 2020-09-15 Verizon Patent And Licensing Inc. Devices and methods for application attestation
WO2020050555A1 (en) * 2018-09-07 2020-03-12 Samsung Electronics Co., Ltd. Method for uwb transaction and electronic device therefor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120178420A1 (en) * 2008-05-02 2012-07-12 Research In Motion Limited Coordinated security systems and methods for an electronic device
KR20120057871A (ko) * 2010-11-29 2012-06-07 인포섹(주) 보안 등급에 따라 어플리케이션의 실행을 제어하는 모바일 단말기 및 이의 구현방법
KR20120136126A (ko) * 2011-06-08 2012-12-18 충남대학교산학협력단 휴대단말에서 악성행위 처리 방법 및 장치
KR20130015236A (ko) * 2011-08-02 2013-02-13 주식회사 케이티 단말 보안을 수행하는 사용자 단말 및 서비스 서버 장치
KR20140139752A (ko) * 2013-05-28 2014-12-08 주식회사 인프라웨어테크놀러지 루팅 검출방법 및 검출장치
KR20170077425A (ko) * 2015-12-28 2017-07-06 삼성전자주식회사 전자 장치 및 전자 장치의 핸드오프를 이용한 결제 수행 방법

Also Published As

Publication number Publication date
CN112740209A (zh) 2021-04-30
US11921857B2 (en) 2024-03-05
EP3839783A1 (en) 2021-06-23
KR102605461B1 (ko) 2023-11-23
EP3839783A4 (en) 2021-10-20
US20220035921A1 (en) 2022-02-03
KR20200033560A (ko) 2020-03-30

Similar Documents

Publication Publication Date Title
WO2020171538A1 (en) Electronic device and method for providing digital signature service of block chain using the same
WO2019164339A1 (en) Electronic device and method for sharing screen data
WO2019059596A1 (ko) 전자 장치의 소프트웨어의 업데이트를 관리하기 위한 장치 및 방법
WO2021060745A1 (en) Electronic device for updating firmware by using security integrated circuit and operation method thereof
WO2020213933A1 (ko) 근접 필드 통신 카드의 복제를 위한 방법 및 그 전자 장치
WO2020184987A1 (en) Electronic device including secure integrated circuit
WO2020190099A1 (en) Electronic device for managing personal information and operating method thereof
WO2019098790A1 (ko) 전자 장치 및 전자 장치에서 보안 운영체제 기반 데이터 송수신 방법
WO2021025449A1 (en) Electronic device operating encryption for user data
WO2019164264A1 (en) Electronic apparatus and operating method thereof
WO2023013861A1 (ko) 디지털 컨텐츠에 대한 대체불가능 토큰을 관리하는 방법 및 장치
WO2020096262A1 (ko) 전자 장치, 그의 개인 정보 제공 방법 및 이를 기록한 컴퓨터 판독 가능 기록매체
WO2020045826A1 (ko) 디지털 키를 처리하는 전자 디바이스 및 그 동작 방법
WO2020060101A1 (ko) 보안 엘리먼트를 이용하여 서비스를 제공하는 전자 장치 및 그의 동작 방법
WO2021125626A1 (ko) 무선 통신을 이용하여 출입을 제어하는 전자 장치 및 그 방법
WO2022146026A1 (ko) 보안 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2021040395A1 (en) Electronic device for controlling access to device resource and operation method thereof
WO2021025322A1 (ko) 키 계정을 통해 애플리케이션을 활성화시키는 전자 장치 및 이를 포함하는 시스템
WO2021085954A1 (ko) 전자 장치의 고유 정보에 대한 무결성을 보장하는 전자 장치 및 그의 동작 방법
WO2024043609A1 (ko) 애플릿의 비접촉 통신 제어 방법 및 장치
WO2020105955A1 (ko) 보안 요소를 통해 보안이 필요한 서비스를 제공하는 전자 장치 및 그 전자 장치를 제어하는 방법
WO2014014295A1 (ko) 태깅을 통한 카드결제용 디지털 시스템, 결제측 시스템 및 그 제공방법
WO2014010875A1 (ko) 페어장치와 연동되는 애플리케이션 실행 및 결제방법, 이를 위한 디지털 시스템
WO2023003150A1 (ko) 보안 요소의 백업을 수행하는 전자 장치 및 백업 방법
WO2018164408A1 (ko) 어플리케이션 보안 방법 및 이를 수행하기 위한 시스템

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19862674

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019862674

Country of ref document: EP

Effective date: 20210319