Determining security of local area network

By installing LAN determination agents on client devices, evaluating the security of the LAN using subnet masks and security lists, avoiding unnecessary use of secure connection technology, solving the problems of resource waste and performance degradation, and achieving safe and efficient network operation.

CN118900186APending Publication Date: 2024-11-05BLACKBERRY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410527397.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-02
Filing Date
2024-04-29
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The prior art has problems of resource waste and performance degradation in local area network (LAN) security assessment, especially in enterprise parks or public network environments. Additional secure connection technologies such as VPNs are often required, resulting in unnecessary resource consumption. and performance degraded.

Method used

By installing a LAN determination proxy (LDA) on the client device, use the subnet mask and security list to determine whether the current LAN meets pre-configured security conditions, if so, no additional secure connection technology, such as VPN, otherwise automatically enabled Secure network technology.

Benefits of technology

Reduces resource utilization and improves network performance, while providing security for network operations and avoiding performance losses caused by unnecessary secure connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900186A_ABST
    Figure CN118900186A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to determining security of a local area network. Systems, methods, and software may be used to determine whether a local area network (LAN) is secure. In some aspects, a method includes determining, by an electronic device connected to a local area network (LAN), whether the LAN satisfies a security condition, where determining whether the LAN satisfies the security condition includes: determining whether an Internet Protocol (IP) address of a reference server in a security list is included in a range indicated by a subnet mask of the LAN; determining whether a host name of the device at the IP address matches a host name corresponding to a reference server in the security list; and determining whether to initiate a secure network connection based on whether the LAN satisfies a security condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to determining the security of a local area network (LAN). Background Art

[0002] In some implementations, the electronic device is connected to a local area network (LAN), such as a wireless LAN or a wired LAN. The LAN is also connected to a wide area network and other remote devices, such as a server. The electronic device performs network operations by transmitting and receiving packets, such as transmitting and receiving packets to and from a remote device, via a server (e.g., an access point (AP)) on the LAN. BRIEF DESCRIPTION OF THE DRAWINGS

[0003] Figure 1 is a schematic diagram illustrating an example system that performs LAN determination operations according to an implementation.

[0004] Figure 2 is a flow chart illustrating an example process of determining operations according to an implementation of a LAN.

[0005] Figure 3 An example scenario determined according to an implemented LAN is illustrated.

[0006] Figure 4 is a flow chart illustrating an example method for LAN determination according to an implementation.

[0007] Figure 5 A high-level architectural block diagram of a computer according to an implementation is illustrated.

[0008] Like reference numbers and designations in the various drawings indicate like elements. DETAILED DESCRIPTION

[0009] In some implementations, electronic devices may use secure connection technologies such as virtual private networks (VPNs) to provide security for network operations. In some cases, enterprises may further require the use of these technologies before devices can access resources of the enterprise network, such as transferring and receiving files between devices and enterprise servers.

[0010] On the other hand, it may not be efficient to always require the use of these secure connection technologies. For example, VPN uses VPN gateway resources and slows down connection performance due to service encapsulation. In some scenarios, it may not be necessary to require a VPN connection, for example, if the device is located within an enterprise's campus and uses the enterprise's LAN to connect to the network. Since the campus's enterprise's LAN is under the control of the enterprise, it is likely to be secure. Requiring such a device to further use a VPN connection results in a waste of resources and degradation of performance.

[0011] In another example, when the user's device is using a LAN of a store or restaurant for network connection, the user may be concerned about the security of the public network. In these cases, the user may prefer to use additional security mechanisms for network operations. Examples of security mechanisms include using a VPN, using a secure connection established based on the Secure Shell protocol (SSH), and opening a home firewall. On the other hand, when the device is using a home LAN, the user may believe that the user's home LAN is secure and is reluctant to use a connection that utilizes these additional security mechanisms.

[0012] In some operations, the electronic device can determine whether the current LAN meets the pre-configured security conditions. The security conditions can include verifying that there is a legitimate reference server with an address on the current LAN and a pre-configured host name. If the current LAN does not meet the security conditions, the device automatically uses additional security network technologies such as VPN to protect network operations. If the current LAN does meet the security conditions, the device continues to perform network operations without these additional security network technologies. Figure 1-Figure 5 and the associated descriptions provide additional details of these implementations.

[0013] The techniques described herein produce one or more technical effects. For example, the method reduces resource utilization and increases the speed of network performance while providing security for network operations.

[0014] Figure 1 1 is a schematic diagram illustrating an example system 100 that performs LAN determination operations according to an implementation. At a high level, the example system 100 includes a client device 102 connected to a LAN 106. The LAN 106 is also connected to an enterprise server 150 via a wide area network 110.

[0015] The client device 102 represents an electronic device that determines whether the LAN 106 is secure. In a general description, the client device 102 may include, but is not limited to, any of the following: an endpoint, a computing device, a mobile device, a mobile electronic device, a user device, a mobile station, a subscriber station, a portable electronic device, a mobile communication device, a wireless modem, a wireless terminal, or another electronic device. Examples of endpoints may include a mobile device, an IoT (Internet of Things) device, an EoT (Enterprise Internet of Things) device, a cellular phone, a personal data assistant (PDA), a smart phone, a laptop, a tablet computer, a personal computer (PC), a pager, a portable computer, a portable gaming device, a wearable electronic device, a health / medical / fitness device, a camera, a vehicle, or another mobile communication device having a component for transmitting voice or data via a wireless communication network. Vehicles may include motor vehicles (e.g., automobiles, cars, trucks, buses, motorcycles, etc.), aircraft (e.g., airplanes, unmanned aerial vehicles, unmanned aircraft systems, drones, helicopters, etc.), spacecraft (e.g., space shuttles, space shuttles, space capsules, space stations, satellites, etc.), vessels (e.g., ships, boats, hovercrafts, submarines, etc.), rail vehicles (e.g., trains, trams, etc.), and other types of vehicles including any combination of any of the foregoing, whether currently existing or emerging later. The wireless communication network may include a wireless link on at least one of a licensed spectrum and an unlicensed spectrum. The term "mobile device" may also refer to any hardware or software component capable of terminating a user's communication session. In addition, the terms "user device", "UE", "user device equipment", "user agent", "UA", "user equipment" and "mobile device" may be used synonymously herein.

[0016] In some implementations, a LAN determination agent (LDA) 104 may be installed and executed on the client device 102. The LDA 104 may represent an application, a set of applications, software, software modules, hardware, or any combination thereof that may be configured to determine the security conditions of the current LAN of the client device 102. For example, the LDA 104 determines whether there is a legitimate reference server with a pre-configured host name and address connected to the LAN 106. If no legitimate reference server is found, the LDA 104 automatically uses additional secure network technologies such as VPN to protect the network operation of the client device 102. If a legitimate reference server is found, the LDA 104 instructs the client device 102 to continue network operation without using VPN2. Figure 2-Figure 3 and the associated descriptions provide additional details of these implementations.

[0017] Enterprise server 150 represents an application, a set of applications, software, software modules, hardware, or any combination thereof that is part of an enterprise network. In some cases, if client device 102 is connected to a LAN that does not meet security conditions, the enterprise may require client device 102 to use a VPN to connect to enterprise server 150. On the other hand, if client device 102 is connected to a LAN that meets security conditions, the enterprise may allow client device 102 to connect to enterprise server 150 without using a VPN. In some cases, enterprise server 150 may be part of LAN 106.

[0018] Example system 100 includes LAN 106. LAN 106 can be a wireless LAN or a wired LAN. Example system 100 also includes a wide area network 110. Network 110 can include a wireless network, a wired network, the Internet, or a combination thereof. For example, network 110 can include one or more radio access networks (RANs), a core network (CN), and the Internet. RAN can include one or more radio access technologies. In some implementations, the radio access technology can be a global system for mobile communications (GSM), transition standard 95 (IS-95), a universal mobile telecommunications system (UMTS), CDMA2000 (code division multiple access), an evolved universal mobile telecommunications system (E-UMTS), long term evolution (LTE), advanced LTE, the fifth generation (5G), or any other radio access technology. In some instances, the core network can be an evolved packet core (EPC).

[0019] RAN is a part of a wireless telecommunication system that implements radio access technologies such as UMTS, CDMA2000, 3GPP LTE, 3GPP LTE-A and 5G. In many applications, RAN includes at least one base station. A base station can be a radio base station that can control all or at least some radio-related functions in the fixed part of the system. Base stations can provide a radio interface for mobile devices to communicate within their coverage area or cell. Base stations can be distributed throughout the cellular network to provide a wide coverage area. A base station communicates directly with one or more mobile devices, other base stations, and one or more core network nodes.

[0020] Although Figure 1 The elements of the EMBODIMENTS are shown as including various component parts, portions or modules that implement various features and functionality, however, these elements may appropriately include multiple sub-modules, third-party services, components, libraries, etc. In addition, the features and functionality of various components may be appropriately combined into fewer components.

[0021] Figure 2 2 is a flow chart illustrating an example process 200 of determining operations according to an implemented LAN. Process 200 may be performed by Figure 1200 may be implemented by one or more entities shown in the figure or by any other system or module that provides LAN determination for the device. For example, process 200 may be implemented by client device 102. In some cases, the operations performed by client device 102 discussed in process 200 may be performed by one or more applications installed on client device 102 (e.g., LDA 104 discussed previously). Figure 2 The example process 200 shown in FIG. 2 may also be implemented using more, fewer, or different operations, which may be performed in the order shown or in a different order.

[0022] Example process 200 begins at 202, where a client device is connected to a LAN. The LAN to which the client device is connected is referred to as the current LAN. At 204, the client device obtains the local IP address of the client device and the subnet mask of the current LAN. In some cases, when the client device is connected to the current LAN, the local IP address is assigned to the client device. The local IP address may be assigned by a router of the LAN. In some cases, the local IP address may be assigned according to the Dynamic Host Configuration Protocol (DHCP) protocol. In some cases, the local IP address may be an IPv4 address or an IPv6 address. In one example, the local IP address may be 192.168.5.200.

[0023] The subnet mask separates the IP address into a network and a host address. In one example, the subnet mask is 192.168.5.0 / 24, which indicates that the first 24 of the 32 bits of the address 192.168.5.0 are used for the network portion, while the last 8 of the 32 bits are used for the host portion. Therefore, the subnet mask indicates that devices connected to the current LAN can have local addresses from 192.168.5.0 to 192.168.5.255. In some cases, when a client device is connected to a LAN, the client device receives the subnet mask of the LAN.

[0024] At 206, the client device determines whether the address range indicated by the subnet mask includes the IP address of the pre-configured reference server in the security list. The security list includes information of one or more pre-configured reference servers. These reference servers represent host devices that meet security conditions. The information of the reference server includes the IP address of the reference server and the host name of the reference server. This information can be included in the tuple. In one example, an organization (e.g., a commercial enterprise, a school, a government entity, etc.) can determine that the LAN in its campus is safe. The reference servers in the LAN in the campus of the organization can be assigned pre-configured addresses and pre-configured host names. For example, the reference server can be configured with an IP address 192.168.5.5 with a host name ENTERPRISESERVER. Therefore, the IP address 192.168.5.5 is included in the security list together with the host name ENTERPRISESERVER. The security list can include information (pre-configured IP addresses and host names) of other reference servers. The security list is stored on the client device. For example, the security list can be sent to the client device during the provisioning process.

[0025] In some cases, the client device may store multiple security lists. For example, the client device may store an enterprise security list. The enterprise security list may be used to determine whether the current LAN is one of the LANs that meets the security requirements of the enterprise. In these cases, the information of the reference server may be set by the administrator of the enterprise. Alternatively or additionally, the client device may store a private security list. The private security list may be used to determine whether the current LAN is a home LAN that meets the security requirements of the user of the client device. In this case, the user may include the address and host name configured in the router of the LAN in the user's home as the information of the reference server in the private security list. In some cases, these security lists may be combined. For example, a security list may include an enterprise portion containing enterprise reference servers and a private portion containing home reference servers.

[0026] As previously discussed, the subnet mask of the current LAN indicates the range of IP addresses of devices that can be connected to the current LAN. The client device can therefore search the IP address of the reference server in the security list and determine whether at least one of the IP addresses of the reference server is included in the range. For example, if the security list includes the address 192.168.5.5 of the reference server, and the subnet mask is 192.168.5.0 / 24, which indicates the range of 192.168.5.0 to 192.168.5.255, then the client device can determine that the current LAN may include a reference server with an address of 192.168.5.5 in the security list. On the other hand, for the reference server with an address of 10.10.1.1 in the security list, the client device can determine that the address is not in the range of 192.168.5.0 to 192.168.5.255 indicated by the subnet mask, and therefore the reference server does not exist on the current LAN. In another example, if the subnet mask is 192.168.5.64 / 26, meaning that the host should be in the range of 192.168.54.64 to 192.168.5.126 (address 192.168.5.127 is used as the broadcast address), then for the reference server with address 192.168.54.5 in the safe list, the client device can determine that the address does not exist in the current LAN.

[0027] If the client device determines that no pre-configured reference server in the security list is included in the range defined by the subnet mask, the client device may determine that the current LAN does not meet the security condition and terminate process 200 .

[0028] If the client device determines that the addresses of one or more reference servers in the safe list are included in the range indicated by the subnet mask, the client device proceeds to 210. At 210, the client device determines whether the reference servers have host names that match the corresponding host names in the safe list. In some implementations, the client device may perform a reverse domain name system (DNS) lookup process to discover the host name associated with the address found at step 206 discussed previously. In the example discussed previously, the client device determines that the address 192.168.5.5 in the safe list is included in the range indicated by the subnet mask of the current LAN. In this case, the client device may continue to perform a reverse DNS lookup to find the host name of the device with the IP address of 192.168.5.5. For example, the client device may send a query to a DNS server. The query may include the address 192.168.5.5. In response to the query, the client device may receive a response from the DNS server. The response may indicate that ENTERPRISESERVER is the host name of the device at 192.168.5.5. The client device may check the safe list and determine that the address 192.168.5.5 corresponds to the same name (ENTERPRISESERVER). Therefore, the client device may determine that the host name and address match a reference server in the safe list. In this case, the device at that address may be a potential reference server configured in the safe list. On the other hand, if the client device receives a response from the DNS indicating that the host name of the device at 192.168.5.5 at the current LAN is LOCALSEVER, which is different from the corresponding host name in the safe list, the client device may determine that the device at address 192.168.5.5 is not a potential reference server in the safe list. In some cases, the client device may repeat this process for each address found at step 206.

[0029] If the client device determines that none of the addresses found at step 206 have a host name that matches a corresponding host name in the security list, the client device may determine that the current LAN does not meet security conditions and terminate process 200 .

[0030] If the client device determines that there is at least one potential reference server in the current LAN, ie, both the address and the host name of the potential reference server match one of the reference servers in the list, the client device proceeds to 220 .

[0031] At 220, the client device verifies whether the potential reference server meets the secure connection requirements. The secure connection requirements may be configured by an administrator of the enterprise for enterprise operations, by a user of the client device for private operations, or both. In one example, the secure connection requirements may include determining whether the potential reference server exists at the address found at step 206 by sending a ping, and determining whether a response is received within a configured duration. Alternatively or additionally, the secure connection requirements may include requiring the potential reference server to support one or more secure communication protocols, such as Hypertext Transfer Protocol Security (HTTPS) or Transport Layer Security (TLS). In one example, the client device may send a connection request to the address of the potential reference server. The connection request may be an HTTPS message or a TLS message. The client device may determine whether a response is received from the potential reference server and whether a secure connection according to a secure protocol is established. The process may confirm whether there is a potential reference server at the address found at step 206, and whether the potential reference server supports secure connections. In some cases, the type of secure communication protocol that meets the secure connection requirements may also be included in the security list. The type of secure communication protocol may be the same for the reference servers in the security list. Alternatively or additionally, the safe list may include different secure communication protocols corresponding to different reference servers in the safe list.

[0032] In some cases, the secure connection requirements may include a list of configured credentials corresponding to the reference servers. These credentials may include identity information, certificates, public keys, security tokens, or other credentials. The client device may receive the certificate, encrypted identity, signed token, or other information and use the configured credentials to determine whether the received information is valid. In some implementations, the security list may include configured credentials corresponding to each reference server in the security list.

[0033] If the client device determines that none of the potential reference servers found at step 210 supports the secure connection requirements discussed previously, then the client device may determine that the current LAN does not meet the security conditions and terminate process 200 .

[0034] If the client device determines that there is a potential reference server that supports the secure connection requirement, the client device may determine that the current LAN meets the security condition and terminate process 200 .

[0035] If the client device determines that the current LAN does not meet the security conditions, the client device may determine that a secure network connection is required. For example, the client device may initiate a VPN connection and perform a network connection through the VPN connection. Alternatively or additionally, the client device may open a firewall and establish a connection through the firewall, using SSH or other security mechanisms to establish a secure network connection to protect network traffic.

[0036] On the other hand, if the client device determines that the current LAN meets the security conditions, the client device can determine that a secure network connection is not needed. In this case, the client device can use the current LAN to perform network connection without the need for additional network security mechanisms such as VPN, firewall, or SSH.

[0037] In some cases, where additional security is preferred, the client device may also prompt the user to input whether a secure connection is required when the current LAN meets the security conditions.

[0038] In some cases, the client device may output an indication, such as displaying a message, displaying or changing an icon, outputting an audio sound, or any combination thereof. The indication may indicate whether the current LAN meets the security conditions. The indication may also indicate a specific reason why the current LAN failed the security check, for example, if the address check (step 206) and the reverse DNS check (210) are both successful and there is a potential reference server, but the potential reference server failed the security credential check. This may indicate the presence of a malicious server that mimics a legitimate reference server on the current LAN. The client address may output an indication on the device or send an indication to the server for further action.

[0039] Figure 3 An example scenario determined according to an implemented LAN is illustrated.

[0040] In scenario 310, a client device is connected to a current LAN. The client device obtains a subnet mask of 192.168.5.0 / 24 and an assigned address of 192.168.5.200. There are other devices on the current LAN, for example at address 192.168.5.60. The safe list includes a reference server with an IP address of 192.168.5.5. Based on the subnet mask of 192.168.5.0 / 24, the client device determines that the IP address 192.168.5.5 is included in the host range indicated by the subnet mask of the current LAN (from 192.168.5.0 to 192.168.5.255). The client device also performs a reverse DNS lookup to find the host name of the device at 192.168.5.5. The host name matches the corresponding host name of the reference server in the safe list, for example, a host name in the same tuple as the address 192.168.5.5. The client device also uses a secure connection protocol (e.g., HTTPS or TLS) to establish a connection to the device at 192.168.5.5. The client device verifies the credentials of the device at 192.168.5.5 and confirms that the device is a valid reference server. The client device determines that the current LAN meets the security conditions. It can release the secure connection and continue to use the current LAN to perform network operations without additional security mechanisms.

[0041] In scenario 320, a client device is connected to a current LAN. The client device obtains a subnet mask of 10.10.1.0 / 24 and an assigned address of 10.10.1.230. There are other devices on the current LAN, for example at address 10.10.1.2. The security list includes a reference server with an IP address of 192.168.5.5. Based on the subnet mask of 10.10.1.0 / 24, the client device determines that the IP address 192.168.5.5 is not included in the host range indicated by the subnet mask (from 10.10.1.0 to 10.10.1.255). The client device determines that the current LAN does not meet the security conditions. It initiates a secure connection using an additional security mechanism (e.g., VPN, SSH, firewall) and performs network operations over the secure connection.

[0042] In scenario 330, a client device connects to the current LAN. The client device obtains the subnet mask 192.168.5.0 / 24 and the assigned address 192.168.5.200. The client device determines that the IP address 192.168.5.5 is included in the host range indicated by the subnet mask (from 192.168.5.0 to 192.168.5.255). The client device also performs a reverse DNS lookup to find the host name of the device at 192.168.5.5. In this case, the host name does not match the corresponding host name of the address 192.168.5.5 in the same tuple in the security list. The client device determines that the current LAN does not meet the security conditions. It initiates a secure connection and performs network operations through the security conditions.

[0043] In scenario 340, a client device is connected to the current LAN. The client device obtains a subnet mask of 192.168.5.0 / 24 and an assigned address of 192.168.5.200. There are other devices on the current LAN, for example at address 192.168.5.30. The security list includes a reference server with an IP address of 192.168.5.5. Based on the subnet mask of 192.168.5.0 / 24, the client device determines that the IP address 192.168.5.5 is included in the host range indicated by the subnet mask (from 192.168.5.0 to 192.168.5.255). The client device also performs a reverse DNS lookup to find the host name of the device at 192.168.5.5. The reverse DNS check is unsuccessful because there is no device at that address on the current LAN. The client device determines that the current LAN does not meet the security conditions. It initiates a secure connection and performs network operations through the security conditions. In some cases, the reverse DNS check is successful, but the reference server at IP address 192.168.5.5 may be unreachable (e.g., offline due to maintenance). In this case, the client device can search the safe list for another IP address that is within the host range indicated by the subnet mask (from 192.168.5.0 to 192.168.5.255). In one example, IP address 192.168.5.100 can also be found in the safe list. The client device can perform a reverse DNS lookup to find the host name of the device at 192.168.5.100. The client device can determine whether the host name matches the host name in the safe list that corresponds to the determined IP address 192.168.5.100. This enables an enterprise or home user to configure redundant reference servers in a LAN.

[0044] In scenario 350, a client device is connected to a current LAN. The client device obtains a subnet mask of 192.168.5.0 / 24 and an assigned address of 192.168.5.200. The safe list includes a reference server having an IP address of 192.168.5.5. Based on the subnet mask of 192.168.5.0 / 24, the client device determines that the IP address 192.168.5.5 is included in the range of hosts indicated by the subnet mask (from 192.168.5.0 to 192.168.5.255). The client device also performs a reverse DNS lookup to find the host name of the device at 192.168.5.5. The host name matches the corresponding host name of the reference server in the safe list, such as a host name in the same tuple as the address 192.168.5.5. Note that in this scenario, the malicious operator installed a fraudulent server on the current LAN with a host name and address that is identical to that of a legitimate reference server in the safe list. Therefore, both the address check and the reverse DNS lookup are successful.

[0045] The client device also uses a secure connection protocol (e.g., HTTPS or TLS) to establish a connection to the device at 192.168.5.5. The client device verifies the credentials of the device at 192.168.5.5. The spoofed server cannot pass these security requirement checks because the spoofed server does not have the security credentials required to complete these processes. The client device determines that the current LAN does not meet the security conditions. It initiates a secure connection and performs network operations through the security conditions. The client device can also generate an audio or visual alarm, send an alarm notification to the server, or both.

[0046] Figure 4 4 is a flow chart illustrating an example method 400 for LAN determination according to an implementation. The example method 400 may be performed by a client device (e.g., Figure 1 The method may be implemented by using the client device 102 shown in FIG. Figure 4 The example method 400 shown in FIG. 4 may be implemented using more, fewer, or different operations, which may be performed in the order shown or in a different order.

[0047] At step 410, an electronic device connected to a local area network (LAN) determines whether the LAN satisfies security conditions, wherein determining that the LAN satisfies security conditions includes: determining whether an Internet Protocol (IP) address of a reference server in a security list is included in a range indicated by a subnet mask of the LAN, and determining whether a host name of the device at the IP address matches a host name corresponding to a reference server in the security list.

[0048] At step 420, the electronic device determines whether to initiate a secure network connection based on whether the LAN satisfies security conditions.

[0049] Figure 5 500 is a block diagram of a high-level architecture of a computer 500 according to an implementation. The computer 500 may be implemented as Figure 1 The computer 500 can also be used to implement Figure 1-Figure 4 The operations discussed in the description are merely one possible implementation of the subject matter described and are not intended to limit the disclosure to a single described implementation. Those skilled in the art will appreciate that the described components may be connected, combined, and / or used in alternative ways consistent with the present invention.

[0050] In some cases, the processing algorithm established by the code package can be implemented in an executable computing code (e.g., C / C++ executable code). In some cases, the computer 500 may include a stand-alone Linux system running a batch application. In some cases, the computer 500 may include a mobile or personal computer.

[0051] Computer 500 may include a computer that includes input devices such as a keypad, keyboard, touch screen, microphone, voice recognition device, other device that can accept user information, and / or output devices that convey information associated with the operation of the computer, including digital data, visual and / or audio information, or a GUI.

[0052] The computer 500 may function as a client, a network component, a server, a database or other persistent component, and / or any other component. In some implementations, one or more components of the computer 500 may be configured to operate within a cloud computing-based environment.

[0053] At a high level, the computer 500 is an electronic computing device that operates to receive, transmit, process, store or manage data. According to some implementations, the computer 500 may also include an application server, an email server, a web server, a cache server, a streaming data server, a business intelligence (BI) server and / or other servers, or be communicatively coupled with them.

[0054] Computer 500 may collect data of web events or mobile application usage events from a web browser or client application (e.g., installed plug-in) via network 110. Additionally, data may be collected by computer 500 from internal users (e.g., from a command console or through another appropriate access method), external or third parties, other automated applications, and any other appropriate entity, person, system, or computer.

[0055] Each component of computer 500 can communicate using system bus 512. In some implementations, any and / or all components (hardware and / or software) of computer 500 can use API 508 and / or service layer 510 to dock with each other and / or interface 502 through system bus 512. API 508 can include specifications for routines, data structures and object classes. API 508 can be computer language independent or related, and refers to a complete interface, a single function or even a set of APIs. Service layer 510 provides software services to computer 500. All service consumers using this service layer can access the functionality of computer 500. Software services such as those provided by service layer 510 provide reusable defined business functionality through defined interfaces. For example, the interface can be software written in JAVA, C++ or other suitable languages ​​that provide data in extensible markup language (XML) format or other suitable formats. Although illustrated as an integrated component of the computer 500, alternative implementations may illustrate the API 508 and / or service layer 510 as separate components relative to other components of the computer 500. Furthermore, any or all portions of the API 508 and / or service layer 510 may be implemented as a sub-module or sub-module of another software module, enterprise application, or hardware module without departing from the scope of the present disclosure.

[0056] Computer 500 includes interface 502. Although Figure 5 502, but two or more interfaces 502 may be used depending on the specific needs, expectations, or specific implementations of the computer 500. The interface 502 is used by the computer 500 to communicate with other systems in a distributed environment connected to a network (whether or not illustrated). Typically, the interface 502 includes logic encoded in software and / or hardware in an appropriate combination and operating to communicate with the network. More specifically, the interface 502 may include software supporting one or more communication protocols associated with the communication, so that the hardware of the network or interface operates to transmit physical signals within and outside the computer 500.

[0057] Computer 500 includes at least one processor 504. Although Figure 5 500, but two or more processors may be used depending on the particular needs, desires, or particular implementations of the computer. In general, the processor 504 executes instructions and manipulates data to perform the operations of the computer 500. Specifically, the processor 504 executes Figure 1-Figure 4 The functionality disclosed in .

[0058] The computer 500 also includes a memory 514 for storing data used by the computer 500. Figure 5500, two or more memories may be used depending on the particular needs, desires, or particular implementation of the computer 500. Although the memory 514 is illustrated as an integral component of the computer 500, in alternative implementations, the memory 514 may be external to the computer 500.

[0059] Application 506 is an algorithmic software engine that provides functionality, particularly functionality required with respect to anomaly detection, according to the specific needs, desires, or specific implementation of computer 500. Although illustrated as a single application 506, application 506 may be implemented as multiple applications 506 on computer 500. Furthermore, although illustrated as integrated into computer 500, in alternative implementations, application 506 may be external to computer 500.

[0060] There may be any number of computers 500 associated with the network or external to the network and communicating through the network. Furthermore, the present disclosure contemplates that many users may use one computer 500, or that one user may use multiple computers 500.

[0061] The described implementations of the present subject matter may include one or more features alone or in combination.

[0062] For example, in a first implementation, a method includes: determining, by an electronic device connected to a local area network (LAN), whether the LAN satisfies a security condition, wherein determining whether the LAN satisfies the security condition includes: determining whether an Internet Protocol (IP) address of a reference server in a security list is included in a range indicated by a subnet mask of the LAN; and determining whether a host name of a device at the IP address matches a host name corresponding to a reference server in the security list; and determining whether to initiate a secure network connection based on whether the LAN satisfies the security condition.

[0063] The above and other described implementations may each optionally include one or more of the following features:

[0064] The first feature can be combined with any of the following features, wherein determining whether the LAN meets the security conditions also includes: transmitting a connection request to a device at the IP address; receiving authentication information from the device; and determining that the LAN meets the security conditions based on the authentication information.

[0065] A second feature, which may be combined with any of the preceding or following features, comprises transmitting the connection request using a secure network protocol configured in a security list.

[0066] A third feature, which may be combined with any of the preceding or following features, wherein the host name is determined by using a reverse Domain Name System (DNS) lookup process.

[0067] The fourth feature can be combined with any of the above or following features, wherein the method further includes: in response to determining that the local area network does not meet the security conditions: initiating a virtual private network (VPN) connection; and using the VPN connection to transmit packets to the remote server.

[0068] A fifth feature, which may be combined with any of the preceding or following features, wherein the method further comprises: in response to determining that the LAN satisfies security conditions: transmitting packets to a remote server without using a virtual private network (VPN) connection.

[0069] A sixth feature, which can be combined with any of the preceding features, is characterized in that the security list includes information of enterprise servers and home servers.

[0070] In a second implementation, one or more computer-readable media containing instructions that, when executed, cause an electronic device to perform operations including: determining, by an electronic device connected to a local area network (LAN), whether the LAN satisfies a security condition, wherein determining whether the LAN satisfies the security condition includes: determining whether an Internet Protocol (IP) address of a reference server in a security list is included in a range indicated by a subnet mask of the LAN; and determining whether a host name of a device at the IP address matches a host name corresponding to a reference server in the security list; and determining whether to initiate a secure network connection based on whether the LAN satisfies the security condition.

[0071] The above and other described implementations may each optionally include one or more of the following features:

[0072] The first feature can be combined with any of the following features, wherein determining whether the LAN meets the security conditions also includes: transmitting a connection request to a device at the IP address; receiving authentication information from the device; and determining that the LAN meets the security conditions based on the authentication information.

[0073] A second feature, which may be combined with any of the preceding or following features, comprises transmitting the connection request using a secure network protocol configured in a security list.

[0074] A third feature, which may be combined with any of the preceding or following features, wherein the host name is determined by using a reverse Domain Name System (DNS) lookup process.

[0075] The fourth feature can be combined with any of the above or following features, wherein the operation also includes: in response to determining that the local area network does not meet the security conditions: initiating a virtual private network (VPN) connection; and using the VPN connection to transmit packets to a remote server.

[0076] A fifth feature, which may be combined with any of the preceding or following features, wherein the operation further comprises: in response to determining that the LAN satisfies security conditions: transmitting packets to a remote server without using a virtual private network (VPN) connection.

[0077] A sixth feature, which can be combined with any of the preceding features, is characterized in that the security list includes information of enterprise servers and home servers.

[0078] In a third implementation, an electronic device includes: one or more processors; and one or more computer memory devices, which are interoperably coupled with the one or more processors and have a tangible, non-transitory machine-readable medium storing one or more instructions, which when executed by the one or more processors causes the electronic device to perform operations including the following: determining, by an electronic device connected to a local area network (LAN), whether the LAN satisfies a security condition, wherein determining whether the LAN satisfies the security condition includes: determining whether an Internet Protocol (IP) address of a reference server in a security list is included in a range indicated by a subnet mask of the LAN; and determining whether a host name of a device at the IP address matches a host name corresponding to a reference server in the security list; and determining whether to initiate a secure network connection based on whether the LAN satisfies the security condition.

[0079] The above and other described implementations may each optionally include one or more of the following features:

[0080] The first feature can be combined with any of the following features, wherein determining whether the LAN meets the security conditions also includes: transmitting a connection request to a device at the IP address; receiving authentication information from the device; and determining that the LAN meets the security conditions based on the authentication information.

[0081] A second feature, which may be combined with any of the preceding or following features, comprises transmitting the connection request using a secure network protocol configured in a security list.

[0082] A third feature, which may be combined with any of the preceding or following features, wherein the host name is determined by using a reverse Domain Name System (DNS) lookup process.

[0083] The fourth feature can be combined with any of the above or following features, wherein the operation also includes: in response to determining that the local area network does not meet the security conditions: initiating a virtual private network (VPN) connection; and using the VPN connection to transmit packets to a remote server.

[0084] A fifth feature, which may be combined with any of the preceding or following features, wherein the operation further comprises: in response to determining that the LAN satisfies security conditions: transmitting packets to a remote server without using a virtual private network (VPN) connection.

[0085] A sixth feature, which can be combined with any of the preceding features, is characterized in that the security list includes information of enterprise servers and home servers.

[0086] The implementation of the subject matter and functional operations described in this specification can be implemented in digital electronic circuits, in tangibly embodied computer software or firmware, in computer hardware, including the structures disclosed in this specification and their structural equivalents, or a combination of one or more of them. The implementation of the subject matter described in this specification can be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on a tangible, non-temporary computer storage medium to be executed or controlled by a data processing device. Alternatively or additionally, the program instructions can be encoded on an artificially generated propagation signal (e.g., a machine-generated electrical, optical or electromagnetic signal), which is generated to encode information for transmission to an appropriate receiver device for execution by a data processing device. The computer storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.

[0087] The term "data processing apparatus", "computer" or "electronic computer equipment" (or, equivalents understood by a person of ordinary skill in the art) refers to data processing hardware and covers all kinds of apparatus, equipment and machines for processing data, including, for example, a programmable processor, a computer, or multiple processors or computers. The apparatus may also be or also include a dedicated logic circuit, such as a central processing unit (CPU), an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In some implementations, the data processing apparatus and / or the dedicated logic circuit may be hardware-based and / or software-based. The apparatus may optionally include code that creates an execution environment for a computer program, such as code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them. The present disclosure contemplates the use of a data processing apparatus with or without a conventional operating system, such as LINUX, UNIX, WINDOWS, MACOS, ANDROID, IOS, or any other suitable conventional operating system.

[0088] A computer program may also be referred to or described as a program, software, software application, module, software module, script or code, which may be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and which may be deployed in any form, including as a standalone program or as a module, component, subroutine or other unit suitable for use in a computing environment. A computer program may but need not correspond to a file in a file system. A program may be stored in a portion of a file that stores other programs or data, such as one or more scripts stored in a markup language document, a single file dedicated to the program in question, or multiple collaborative files, such as files storing one or more modules, subroutines or code portions. A computer program may be deployed to be executed on one or more computers, which are located at one site or distributed at multiple sites and interconnected by a communication network. Although the various parts of the program illustrated in the various figures are shown as individual modules that implement various features and functionality through various objects, methods or other processes, the program may appropriately include several submodules, third-party services, components, libraries, etc. On the contrary, the features and functionality of various components may be appropriately combined into a single component.

[0089] The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by special-purpose logic circuits (e.g., CPUs, FPGAs, or ASICs), and the apparatus can also be implemented as special-purpose logic circuits.

[0090] Computers suitable for executing computer programs can be based on general or special microprocessors or both, or any other type of CPU. Typically, the CPU will receive instructions and data from ROM or RAM or both. The basic elements of a computer are a CPU for executing or implementing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include one or more large-capacity storage devices for storing data, or be operatively coupled to one or more large-capacity storage devices for storing data, or receive data from one or more large-capacity storage devices for storing data, or transfer data to one or more large-capacity storage devices for storing data, or both, where the large-capacity storage device is, for example, a magnetic disk, a magneto-optical disk, or an optical disk. However, a computer does not need to have such a device. In addition, a computer can be embedded in another device, for example, to name a few, a mobile phone, a PDA, a mobile audio or video player, a game console, a GPS receiver, or a portable storage device (e.g., a USB flash drive).

[0091] Computer-readable media (transient or non-transient, as the case may be) suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including, for example, semiconductor memory devices, such as erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CDROM, DVD+ / -R, DVD-RAM and DVD-ROM disks. The memory may store a variety of objects or data, including caches, classes, frameworks, applications, backup data, jobs, web pages, web page templates, database tables, repositories storing business and / or dynamic information, and any other appropriate information, including any parameters, variables, algorithms, instructions, rules, constraints or references thereto. In addition, the memory may include any other appropriate data, such as logs, policies, security or access data, report files, and others. The processor and memory may be supplemented by or incorporated into special purpose logic circuitry.

[0092] To provide interaction with a user, implementations of the subject matter described in this specification may be implemented on a computer having a display device for displaying information to the user, such as a CRT (cathode ray tube), LCD, LED, or plasma monitor, and a keyboard and pointing device, such as a mouse, trackball, or trackpad, through which the user can provide input to the computer. A touch screen may also be used to provide input to the computer, such as a tablet computer surface with pressure sensitivity, a multi-touch screen using capacitance or inductance, or other types of touch screens. Other types of devices may also be used to provide interaction with the user; for example, feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including sound, voice, or tactile input. In addition, the computer may interact with the user by sending documents to and receiving documents from a device used by the user; for example, by sending a web page to a web browser on a user's client device in response to a request received from the web browser.

[0093] The term "graphical user interface" or "GUI" may be used in the singular or plural to describe one or more graphical user interfaces and each display of a particular graphical user interface. Thus, a GUI may represent any graphical user interface, including but not limited to a web browser, a touch screen, or a command line interface (CLI) that processes information and effectively presents the information results to a user. In general, a GUI may include a plurality of user interface (UI) elements, some or all of which are associated with a web browser, such as interactive fields, drop-down lists, and buttons that can be operated by a business suite user. These and other UI elements may relate to or represent the functionality of a web browser.

[0094] The implementation of the subject matter described in this specification can be implemented in a computing system that includes a back-end component (e.g., such as a data server), or includes a middleware component (e.g., an application server), or includes a front-end component (e.g., a client computer with a graphical user interface or a web browser, through which a user can interact with the implementation of the subject matter described in this specification), or any combination of one or more such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium (e.g., a communication network) of wired and / or wireless digital data communication. Examples of communication networks include local area networks (LANs), radio access networks (RANs), metropolitan area networks (MANs), wide area networks (WANs), world interoperability for microwave access (WIMAX), WLANs using, for example, 802.11a / b / g / n and / or 802.20, all or part of the Internet, and / or any other communication system at one or more locations. The network can communicate with, for example, Internet Protocol (IP) packets, frame relay frames, asynchronous transfer mode (ATM) cells, voice, video, data, and / or other appropriate information between network addresses.

[0095] A computing system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

[0096] In some implementations, any or all components (hardware and / or software) of a computing system may use an API and / or service layer to interface and / or interface with each other. An API may include specifications for routines, data structures, and object classes. An API may be computer language independent or subordinate and refers to a complete interface, a single function, or even a set of APIs. The service layer provides software services to a computing system. The functionality of the various components of a computing system may be accessed by all service consumers via the service layer. Software services provide reusable defined business functionality through defined interfaces. For example, an interface may be software written in JAVA, C++, or other appropriate languages ​​that provide data in XML format or other appropriate formats. The API and / or service layer may be an integrated and / or independent component relative to other components of a computing system. In addition, any or all parts of the service layer may be implemented as a submodule or submodule of another software module, enterprise application, or hardware module without departing from the scope of this disclosure.

[0097] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or on the scope that may be claimed, but rather as descriptions of features that may be specific to a particular implementation of a particular invention. Certain features described in this specification in the context of separate implementations may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented separately or in any suitable sub-combination in multiple implementations. In addition, although features may be described above as working in certain combinations and even initially claimed as such, in some cases, one or more features from the claimed combination may be deleted from the combination, and the claimed combination may be directed to a sub-combination or a variant of a sub-combination.

[0098] Specific implementations of the subject matter have been described. Other implementations, alternatives, and permutations of the described implementations are within the scope of the appended claims, which will be apparent to those skilled in the art. Although operations are depicted in a particular order in the drawings or claims, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order, or that all of the operations shown (some operations may be considered optional) be performed to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous.

[0099] In addition, the separation and / or integration of various system modules and components in the above-mentioned implementations should not be understood as requiring such separation and / or integration in all implementations, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0100] Therefore, the above description of example implementations does not define or constrain the present disclosure.Other changes, substitutions and alterations are also possible without departing from the spirit and scope of the present disclosure.

Claims

1. A method comprising: Determining, by an electronic device connected to a local area network (LAN), whether the LAN satisfies a security condition, wherein determining whether the LAN satisfies a security condition comprises: determining whether an Internet Protocol IP address of a reference server in a safe list is included in a range indicated by a subnet mask of the LAN; and determining whether a host name of the device at the IP address matches a host name corresponding to the reference server in the safe list; and Whether to initiate a secure network connection is determined based on whether the LAN satisfies the security condition.

2. The method according to claim 1, wherein the determining whether the LAN satisfies a security condition further comprises: transmitting a connection request to the device at the IP address; receiving authentication information from the device; as well as The LAN is determined to satisfy the security condition based on the authentication information. The method according to claim 2 , wherein the connection request is transmitted using a secure network protocol configured in the security list.

4. The method of claim 1, wherein the host name is determined by using a reverse Domain Name System (DNS) lookup process.

5. The method according to claim 1, further comprising: In response to determining that the local area network does not satisfy the security condition: Initiate a virtual private network VPN connection; as well as Packets are transmitted to a remote server using the VPN connection.

6. The method according to claim 1, further comprising: In response to determining that the LAN satisfies the security condition: transmitting packets to a remote server without using a virtual private network (VPN) connection. The method according to claim 1 , wherein the security list includes information of enterprise servers and home servers.

8. One or more computer-readable media containing instructions that, when executed, cause a computing device to perform operations comprising: Determining, by an electronic device connected to a local area network (LAN), whether the LAN satisfies a security condition, wherein determining whether the LAN satisfies a security condition comprises: determining whether an Internet Protocol IP address of a reference server in a safe list is included in a range indicated by a subnet mask of the LAN; and determining whether a host name of the device at the IP address matches a host name corresponding to the reference server in the safe list; and Whether to initiate a secure network connection is determined based on whether the LAN satisfies the security condition.

9. The one or more computer-readable media of claim 8, wherein the determining whether the LAN satisfies a security condition further comprises: transmitting a connection request to the device at the IP address; receiving authentication information from the device; as well as The LAN is determined to satisfy the security condition based on the authentication information.

10. The one or more computer-readable media of claim 9, wherein the connection request is transmitted using a secure network protocol configured in the secure list.

11. The one or more computer-readable media of claim 8, wherein the host name is determined by using a reverse Domain Name System (DNS) lookup process.

12. The one or more computer-readable media of claim 8, wherein the operations further comprise: In response to determining that the local area network does not satisfy the security condition: Initiate a virtual private network VPN connection; as well as Packets are transmitted to a remote server using the VPN connection.

13. The one or more computer-readable media of claim 8, wherein the operations further comprise: In response to determining that the LAN satisfies the security condition: transmitting packets to a remote server without using a virtual private network (VPN) connection.

14. The one or more computer-readable media of claim 8, wherein the security list includes information of enterprise servers and home servers.

15. An electronic device, comprising: one or more computers; as well as One or more computer memory devices interoperably coupled with the one or more computers and having a tangible, non-transitory, machine-readable medium storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising: Determining, by an electronic device connected to a local area network (LAN), whether the LAN satisfies a security condition, wherein determining whether the LAN satisfies a security condition comprises: determining whether an Internet Protocol IP address of a reference server in a safe list is included in a range indicated by a subnet mask of the LAN; and determining whether a host name of the device at the IP address matches a host name corresponding to the reference server in the safe list; and Whether to initiate a secure network connection is determined based on whether the LAN satisfies the security condition.

16. The electronic device according to claim 15, wherein the determining whether the LAN satisfies a security condition further comprises: transmitting a connection request to the device at the IP address; receiving authentication information from the device; as well as The LAN is determined to satisfy the security condition based on the authentication information. 17 . The electronic device of claim 16 , wherein the connection request is transmitted using a secure network protocol configured in the security list.

18. The electronic device of claim 15, wherein the host name is determined by using a reverse Domain Name System (DNS) lookup process.

19. The electronic device of claim 15, the operations further comprising: In response to determining that the local area network does not satisfy the security condition: Initiate a virtual private network VPN connection; as well as Use the VPN connection to transmit packets to a remote server.

20. The electronic device of claim 15, the operations further comprising: In response to determining that the LAN satisfies the security condition: transmitting packets to a remote server without using a virtual private network (VPN) connection.