加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CSC8204 代寫、Secure Software程序

時間:2023-12-10  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Secure Software Development
Coursework 2023
Aims:
The aim of this assignment is to increase and assess understanding and resolution of risk analysis, SecureUML design, formal modelling and verification.
The coursework consists of 4 equally weighted questions.
Submission details:
Submission deadline: 15 Dec 2023, 15:30
Submit your solution to Ness by the deadline. Your solution should consist of a single .docx or .pdf document with answers to each of the questions below.
Assessment:
The coursework is marked out of 100, with 25 marks for each question . Support:
You will find the formative exercises in Dafny and SecureUML useful for answering the questions in this coursework. After completing these exercises, you can use the remaining practical classes to ask questions.
Questions can also be posted in the Canvas discussion board.
Scenario:
This coursework is derived from the Tokeneer ID Station, a research project undertaken in 2008 by Altran Praxis (formerly Praxis Critical Systems). The project was to demonstrate the development of secure systems in a rigorous manner, and the final report1 provides an overview of the project documentation, including requirements analysis, formal specification (in Z), SPARK Ada implementation and verification, and top-down system testing.
Tokeneer is described as a “biometrics prototype”. The Tokeneer ID Station or TIS, one part of the Tokeneer System, protects access to secure information held on a network of workstations, held in a physically secure space or “enclave”.
1 Available from AdaCore at http://www.adacore.com/uploads/downloads/Tokeneer_Report.pdf
  
 Figure 1 Tokeneer system overview
The Tokeneer system displayed in Figure 1 consists of the secure enclave plus other components that are physically either inside or outside the enclave:
• Enrolment Station issues a token to a user. The token contains up to four signed certificates: an ID Certificate generated by a Certificate Authority; a Privilege Certificate and a biometric Identification and Authentication (I&A) Certificate, both generated by an Attribute Authority; and an Authorisation Certificate which is generated by the TIS, as described below.
• Tokeneer ID Station (TIS) uses the biometric information in the I&A certificate, and scan of the user’s fingerprint, to verify the user. On successful identification, if the Privilege Certificate confirms the user has sufficient clearance, the TIS adds a signed Authorisation Certificate to the user’s token and releases the enclave door lock, allowing entrance to the secure space.
• Inside the secure space (enclave) are a number of Workstations. A workstation checks the Authorisation Certificate to confirm the user is currently authorised to use the workstation facilities.

Part A Applied Risk Analysis [25 Marks]
According to McGraw’s software security approach, the secure software development is founded on a comprehensive applied risk analysis taking into account business goals, business risks, and technical risks.
Aim:
Develop an applied risk analysis based on the documentation of the Tokeneer project (http://www.adacore.com/uploads/downloads/Tokeneer_Report.pdf).
Approach:
Develop the risk analysis based on McGraw’s methodology introduced in the recommended literature McGraw – Software Security and in the lecture on Principles of Software Security.
Evaluate:
1. Business goals of Praxis High Integrity Systems in undertaking the Tokeneer project. Rank the business goals according to the NIST business goal classification.
2. Three main business risks affecting Praxis High Integrity Systems, including: • Business risk indicator
• NIST business risk likelihood scaling
• NIST business risk impact scaling
• Overall NIST severity ranking.
• A one-sentence rationale, why you have chosen this risk over others.
3. Five main technical risks determinable from the Tokeneer report and software
deliverable.
• Analyze the software artifacts
• Evaluate the software security touchpoints
• Use the 10 best practice security principles by McGraw.
• Specify the risk likelihood and possible impact vis-à-vis of available controls.
• Write a one-sentence rationale, why you have chosen this risk over others.
4. Conduct a risk synthesis connecting business goals, business risks and technical risks.
5. Derive one mitigation approach for each technical risk. Justify your choice.
Deliverable:
To complete this part of the coursework, complete an applied risk management report that enumerates the risk register in the tabular form introduced by McGraw and in the lecture on Principles of Software Security. Examples for such tables are given in the lecture slides, slides 2**9.
In addition to the risk register, document the rationale for the risks and the chosen mitigation methods in a brief summary, no more than one side A4.
Ultimately, the coherence and consistency of your argument for your choices will be key in achieving high marks. The risks and mitigation methods must fit the indicated Tokeneer scenario.
Indicative marking guidance: business goals and risks [5 Marks], technical risks [10 Marks], risk synthesis and mitigation [5 Marks], rationale [5 Marks].
    
Part B SecureUML Design [25 Marks]
Model-driven security (MDS) embeds security controls into generated source code and enables formal verification. We investigate SecureUML as a an MDS approach that enables enforcement of confidentiality and integrity through Role-Based Access Control (RBAC).
Aim:
Develop a high-level UML model in the style of SecureUML which models a suitable security policy for the Tokeneer ID station.
 Figure 2 SecureUML Metamodel
Approach:
Create an UML Class model that takes the SecureUML metamodel shown in Figure 2 as foundation and models as a mock-up the defined security policy. Do this in IntelliJ IDEA Diagrams or another appropriate UML modelling software (e.g., Papyrus or Eclipse Modelling).
Design:
Design an UML diagram in the fashion of SecureUML to model the following authentication system: The system manages the certificate handling of the Tokeneer ID station, including (i) how superusers can grant and revoke certificates, (ii) how certificates are derived from one another, and (iii) how an enclave user can log in to and be logged out from workstations.
Create a UML design to capture the following security policy: Subjects = { Alice, Bob, Administrator }; Roles = { EnclaveUser, Superuser }; Actions = { Grant, Revoke, Open, Login, Logout }; Resources = { Workstation, TIS, IDCertificate, IACertificate, PrivilegeCertificate, AuthorizationCertificate } Any user can login to a workstation if the user has an AuthorizationCertificate. Certificates are derived/enforced by the TIS based on the rules highlighted above. A superuser can grant/revoke any certificate and logout any user.
Deliverable:
A UML model that establishes an appropriate RBAC policy according to the SecureUML methodology. It is sufficient to submit a UML class diagrams (incl. dialect design), but not required to design an UML profile. Submit a report displaying your class diagrams along with a rationale for your design, no more than one side A4.
Indicative marking guideline: System, RBAC and dialect UML design [18 Marks]; Rationale [7 Marks]. It is sufficient to capture SecureUML elements conceptually.

Part C Formal Modelling [25 marks]
The Dafny file tokeneer.dfy2 has the beginning of an abstract formal model of part of the tokeneer system in Dafny. The model is not intended to be executable. Your task is to extend the model by answering the questions below.
Aim:
Develop an extended model of the tokeneer certificates and tokens. You do not need to provide
data to test your model. The aim of the exercise is to expand and refine the model specification.
Approach:
Follow the guidelines given in the questions below to extend the model.
The model consists of some abstract datatype definitions, some functions, predicates and methods, and some traits and classes. A trait in dafny is similar to an abstract class or interface in java: dafny requires that a class can only extend a trait, it cannot extend another class. This means that we use traits to define superclasses. See for example the trait Certificate which is extended by the class IDCert.
The key difference between a trait and a class is that a trait does not have a constructor defined. A class must have a constructor: however, as can be seen in the model, the constructor can be unspecified in an abstract model.
Deliverable:
A revised Dafny model for the tokens and certificates part of the tokeneer system. Include the full content of your Dafny file (as text, not as a screenshot image) in your report. You can format it as follows (by copying and pasting the content of your .dfy file into your word document):
/*
Solution to CSC8204 Coursework Part C
*/
 // basic types
type optional<T> = ts: set<T> | |ts| <= 1 type TIME = nat
 Questions:
1) Clearance class. Find the definition of Clearance, which has a single field (cClass) represented by the enumerated type CLEARANCE_CLASS. A newly created Clearance object will initially have the value unmarked.
a) Add a postcondition (ensures) to the constructor to record this. [2 marks] 2 The model is available as tokeneer.dfy in the repository https://github.com/SteveR-Ncl/CSC8204-Dafny
  
A ghost function minClearance has been specified. It should return the minimum of two Clearance objects, ie Clearance(a,b) will return a if the object a has a lower clearance than b. “Lower” is implied by the ordering of the enumeration, ie unmarked < unclassified < restricted etc.
b) Complete the definition of ghost function minClearance to return the minimum clearance object as described above. Use c1.cClass to access the value of the cClass field in the object c1. Hint: you will need to use a reads clause as described in the lecture.
[4 marks]
2) Admin Privilege. A user can have one of 4 privileges, as shown by the enumerated datatype definition PRIVILEGE. Only the admin roles (guard, auditManager, securityOfficer) have any admin operations available to them, as follows:
• A guard can use the overrideLock operation
• An auditManager can use the archiveLog operation
• A securityOfficer can use the updateData and shutdownOp operations
a) Modify your model to add a new enumerated datatype called ADMINOP, with values representing the four operations above (overrideLock, etc) [2 marks]
b) Add a function with signature as follows:
function availableOps(p: PRIVILEGE): set<ADMINOP>
Provide a function body which returns the set of operations available to a user with privilege level p. [8 marks]
3) Token Predicates. A token class is defined in the model. It has fields for the tokenID and up to 4 certificates held on the token (ID Certificate, Privilege Certificate, I and A Certificate, and (optionally) Authorisation Certificate. Each certificate has its own ID; the Privilege, I and A and Authorisation Certificates also contain the ID of the token and the ID of the ID certificate. There are 3 predicate functions to define in the token class: ValidToken(), TokenWithValidAuth(), CurrentToken(TIME).
Complete the predicate functions using the following definitions:
• A Valid Token has Privilege and I and A certificates correctly cross-referencing the ID Certificate and TokenID. It need not have a valid Authorisation certificate.
• A Token with a Valid Authorisation must have an Authorisation certificate, and must have correct cross-reference to the token ID and ID certificate’s ID
• A Current Token is defined using input parameter now, representing the current time. A current token is a Valid Token where all the certificates are current, ie the current time is included in the validityPeriods for each of the id certificate, privilege certificate and I and A certificates.
Hint: set notation may be helpful here. Use a in B to express that a is a member of set B, and B * C to indicate intersection of sets B and C. [9 marks]

Part D [25 marks]
This question makes use of the Floyd-Hoare logic to analyse code samples and investigate whether they can be formally verified, using the approach described in the lectures on Program Verification.
Aim:
The question assesses skill and understanding in formal verification, weakest precondition semantics and Floyd-Hoare logic.
Deliverable:
Provide your answers to all the questions in Part D of you submission document.
Questions
For each of the two code samples shown, use the weakest precondition approach to derive any necessary precondition in order to prove that the code is partially correct with respect to the specification. Sample 2 uses information derived from the tokeneer scenario.
Be sure to show each step in the derivation and indicate which proof rules have been used.
1) Sums method [10 marks]
 method Sums(x: int, y: int) returns (m: int, n: int) ensures m > n
{
    var a: int;
    m := x;
    n := y;
    a := 2 * m + n;
    n := n - 1;
m := a; }
2) UpdateAlarms method [15 marks]
datatype ALARM = silent | alarming
method UpdateAlarms(doorAlarm: ALARM, auditAlarm: ALARM) returns (alarm: ALARM) ensures (alarm == alarming) <==>
 (doorAlarm == alarming) || (auditAlarm == alarming)
 {
if doorAlarm == alarming || auditAlarm == alarming
{ alarm := alarming; }
else
{ alarm := silent ;} }
 請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:CON3602 代做、代寫 java 語言編程
  • 下一篇:代做ECM2418、代寫 java,Python 程序設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日本特黄久久久高潮| 蜜桃视频欧美| 久久精品一区二区三区中文字幕| 亚洲精品久久| 欧美a在线观看| 久久精品久久99精品久久| 久热精品在线| 久久九九国产| 精品国产亚洲一区二区在线观看| 成人在线视频观看| 免费视频最近日韩| 国产韩国精品一区二区三区| 日韩一区二区三区在线看| 青青青伊人色综合久久| 伊人久久综合一区二区| 日韩亚洲国产精品| 999精品在线| 午夜电影一区| 国产乱码精品一区二区亚洲 | 中文一区一区三区高中清不卡免费| 欧美日韩中文一区二区| 精品中文视频| 国产一区二区三区91| 麻豆精品在线视频| 婷婷久久免费视频| 天堂在线中文网官网| 免费在线视频一区| 黄色亚洲在线| 蜜桃视频欧美| 亚洲夜间福利| 99欧美视频| 精品淫伦v久久水蜜桃| 日韩av网址大全| 国产精品免费大片| 成人免费91| av成人在线网站| 成人精品在线| 亚洲男女网站| 伊人久久大香伊蕉在人线观看热v| 国产美女久久| 欧美一区二区| 久久一日本道色综合久久| 国产一区精品福利| 日韩伦理一区二区三区| 亚洲黄页在线观看| 国产 日韩 欧美一区| 97视频精品| 91精品综合久久久久久久久久久| 国产一区二区高清| 在线综合欧美| 石原莉奈在线亚洲二区| 天堂va蜜桃一区二区三区漫画版| 亚洲一区黄色| 免费国产亚洲视频| 亚洲精品欧洲| 99香蕉国产精品偷在线观看| 亚洲精品aⅴ| 深夜福利一区二区三区| 一本色道69色精品综合久久| 日韩08精品| 精品九九在线| 欧美1级日本1级| 99精品99| 国产社区精品视频| www.一区| 亚洲精品偷拍| 久久99久久人婷婷精品综合| 日韩在线黄色| 999国产精品一区| 久久久久亚洲| 黄色成人在线网址| 国产精品99久久久久久动医院| 日韩有码一区二区三区| 中文字幕人成乱码在线观看| 免费成人在线电影| 青草国产精品久久久久久| 国产乱码精品一区二区三区亚洲人 | 99精品视频在线| 成人看片黄a免费看视频| 美国毛片一区二区三区| 成人一级毛片| 青草综合视频| 国内自拍一区| 麻豆视频久久| 婷婷激情图片久久| а√在线中文在线新版| 国产成人精品一区二区三区视频| 国产精品porn| 成人三级av在线| 久久视频国产| 成人亚洲一区二区| 国产综合色区在线观看| 久久精品男女| 亚洲制服欧美另类| 少妇久久久久| 免费看日韩精品| 99精品国产一区二区青青牛奶| 国产精品视频一区视频二区| 91蜜桃臀久久一区二区| 亚洲欧美色图| 精品视频一区二区三区四区五区| 欧美精品99| 蜜臀精品一区二区三区在线观看 | 久久悠悠精品综合网| 日本强好片久久久久久aaa| 国户精品久久久久久久久久久不卡| 久久大逼视频| 免费在线亚洲欧美| 欧美a在线观看| 亚洲专区一区二区三区| 日韩精品第二页| 天堂va在线高清一区| 国产精品日韩久久久| 四虎国产精品免费久久| 日韩精选在线| 国产视频亚洲| 日本色综合中文字幕| 国产精品99久久免费观看| 蜜桃久久久久久| 亚洲精选久久| 亚洲一级特黄| 国产极品一区| 精品国产乱码久久久久久果冻传媒| 成人影视亚洲图片在线| 一区二区三区四区在线观看国产日韩 | 欧美日韩在线大尺度| 99久久99久久精品国产片桃花| 日韩成人综合| 日韩 欧美一区二区三区| 玖玖精品视频| 国产成人免费视频网站视频社区| 国产在线欧美| 老司机精品视频网| 精品在线网站观看| 欧美不卡高清一区二区三区 | 国产偷自视频区视频一区二区| 国产日韩欧美一区二区三区在线观看| 99久久免费精品国产72精品九九| 蜜臀av性久久久久蜜臀aⅴ流畅| 久久中文字幕导航| 91精品91| 中文字幕免费一区二区三区| 婷婷丁香综合| 亚洲男女网站| 米奇777在线欧美播放| 亚洲一区二区三区无吗| 亚洲精品99| 伊人久久大香伊蕉在人线观看热v 伊人久久大香线蕉综合影院首页 伊人久久大香 | 黑人一区二区| av在线播放一区二区| 国产精品女主播一区二区三区| 综合久久综合| 亚洲欧美日韩国产一区二区| 欧美久久亚洲| 97精品在线| 国内视频在线精品| 国产精品xxx| 欧美日韩hd| 国产一区二区三区四区五区| 水蜜桃久久夜色精品一区的特点 | 国产精品嫩草影院在线看| 日韩专区在线视频| 日韩视频1区| 欧美激情不卡| 99日韩精品| 亚州av日韩av| av在线日韩| 香蕉国产精品| 日韩av黄色在线| 深夜日韩欧美| 一本色道久久综合| 日韩一区二区三区高清在线观看| 日韩免费特黄一二三区| 亚洲网站啪啪| 久久最新网址| 百度首页设置登录| 欧美在线网址| 欧美不卡在线观看| 一区二区三区福利| 午夜亚洲性色视频| 红杏视频成人| 国内精品久久久久久久97牛牛 | 一区视频网站| 99精品视频免费观看视频| 亚洲视频1区| swag国产精品一区二区| 亚洲欧洲综合| 在线天堂新版最新版在线8| 久久网站免费观看| 五月激激激综合网色播| 精品福利在线| 国产传媒在线观看| 欧美aa国产视频| 精品国产乱码久久久久久樱花| 欧美成人三级| 国产精品99久久久久久动医院| 亚洲91精品| 18国产精品| 高清久久精品| 免费亚洲网站|