Skip to content
/ ics-idea Public

Access control in ics with smart contract, blockchain (idea) + new trust score system in each rank

Notifications You must be signed in to change notification settings

GGob2/ics-idea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8be41f6 · Feb 24, 2022
Dec 21, 2020
Jan 19, 2021
Feb 17, 2021
Jan 21, 2021
Mar 3, 2021
Jan 19, 2021
Dec 29, 2020
Jan 21, 2021
Jan 13, 2021
Jul 24, 2020
Jan 14, 2021
Jan 21, 2021
Jan 21, 2021
Feb 17, 2021
Feb 23, 2021
Feb 17, 2021
Jan 21, 2021
Feb 24, 2022
Jan 21, 2021
Jan 19, 2021
Mar 3, 2021
Jan 13, 2021
Dec 28, 2020
Dec 29, 2020
Dec 29, 2020
Dec 28, 2020

Repository files navigation

ics-idea

Access control in ics with smart contract, blockchain (idea) + new trust score system in each rank

based paper: 스마트 컨트랙트 기반의 산업제어시스템 접근 제어 메커니즘


ics-idea는 기존 논문에서 보안성을 더욱 강화한 스마트 컨트랙트를 활용한 접근 제어 메커니즘을 구현한 내용입니다.

  • 기존 논문의 취약점으로, 공격자가 팀을 꾸려 공격한다면 막을 수 없는 치명적인 결함이 존재한다. 즉, 보안 측면에서 보완해야 할 점이 존재합니다.
  • ics-idea는 랜덤으로 선택한 검증 그룹을 구성 해, 팀을 꾸려 공격하는 공격자에도 대처 할 수 있는 ics 환경을 구성합니다.

해결해야 하는 점

(01/04/21)

  • 기존 시스템(2_New_CounterCommand.sol)과 제안 시스템(1_New_Command.sol)을 Remix에서 컴파일하여 실행했을 때 시간이 약 3초 정도가 더 걸리는 현상이 발생
  • 하지만, Remix에서는, 정확한 Timestamp를 비교하기 어렵기 때문에, web3를 이용해 Javascript Timer를 구현해야 함

(01/18/21)

  • web3를 이용한 실험환경 구성 중.. 컨트랙트를 node에 배포할 경우 address 관련 에러가 지속적으로 발생하는 중. 해결 방법을 아직 찾지 못함

(해결 및 논문 작성 완료, 최종 심사중 - 22/2/24)


Proposed System Architecture


Proposed System Command Execution Process


Geth console

geth --networkid "10" --nodiscover --allow-insecure-unlock --datadir "C:\Users\MyungJoe Kang\Desktop\private_net\ics-idea" --rpc --rpcaddr "localhost" --rpcport "8545" --rpccorsdomain "*" --rpcapi "eth, net, web3, personal" console 2>> C:\private_net\ics-idea\error.log

solc.exe을 이용한 컴파일로 abi, bin 얻기

private_net\ics-idea>solc.exe --bin -o bin --overwrite --combined-json abi, bin <File>

실험순서 🔥

  1. private_net에 접속
  2. 변경된 abi, bin Data를 이용해 Contract js 파일 작성
  3. private_net에서 Contract를 실행할 Account를 unlock 한 뒤, mining 시작
  4. node <contract js파일 이름> 으로 Contract Deploy
  5. 수행 시간 측정

(01/24) 실험결과:

Timer Experiment


기존시스템 평균 소요시간: 3.5399s
제안시스템 평균 소요시간: 4.0754s
: 0.5355s 차이

About

Access control in ics with smart contract, blockchain (idea) + new trust score system in each rank

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published